Hi,
how can I change a SQL by a selection of a list?
In my Example I select in a Combo Box the Line ({"AL1", "AL2", "AL3", "FTA", "FTB", "FTC"}) and then I like to change my SQL with my selction. Currently I have "WHERE (t1.tag LIKE '%AL2%' ) ". And that works. But I like to substitute "AL2" regarding my selection.
Can anybody help me?
a = {"AL1", "AL2", "AL3", "FTA", "FTB", "FTC"};
New Window( "Line",
<<MODAL></MODAL>here the code I used
CustomSQL(Eval Insert(
"SELECT t1.tag
FROM pisnapshot t1
WHERE ( ( ( (t1.tag LIKE '%^selection^%' ) ) ) )"
)),
Try 'Help > Scripting Index' then search for 'Eval Insert'.