Afternoon,
Struggling with this one (I think I've run out of walls to bang my had against).
This is the query :-
The Ingtn variables are text.
I've followed some rules I've seen on here and fail (i.e 'Text'" should be used for Text Variables) however I always end of with a syntax error when compiling
Using the code above, I get a different error. If I were to set Ingt3 to say Ham, I'd get an error of 'Unknown Column, Ham'
Struggling with this one (I think I've run out of walls to bang my had against).
This is the query :-
B4X:
Results.testtxt = "SELECT NAME FROM Rec WHERE Ingredients LIKE " & Ingt1 & " AND Ingredients LIKE " & Ingt2 & " AND Ingredients LIKE '" & Ingt3 & "
The Ingtn variables are text.
I've followed some rules I've seen on here and fail (i.e 'Text'" should be used for Text Variables) however I always end of with a syntax error when compiling
Using the code above, I get a different error. If I were to set Ingt3 to say Ham, I'd get an error of 'Unknown Column, Ham'