TZQuery.Filter problems
Posted: 19.03.2014, 22:38
Problem 1:
This filter works: fieldname like "value*"
This filter does not work: fieldname like "*value*"
What am I doing wrong here?
Problem 2:
I have the following sql loaded in the TzQuery:
SELECT.. table1.name, table2.name,.. FROM ... INNER JOIN table1.. table2
Works fine, but when I add a filter of the following form, the "." is not accepted:
Filter: (table1.name like "value*") OR (table2.name like "value*")
How can I define a filert with redundant field names?
This filter works: fieldname like "value*"
This filter does not work: fieldname like "*value*"
What am I doing wrong here?
Problem 2:
I have the following sql loaded in the TzQuery:
SELECT.. table1.name, table2.name,.. FROM ... INNER JOIN table1.. table2
Works fine, but when I add a filter of the following form, the "." is not accepted:
Filter: (table1.name like "value*") OR (table2.name like "value*")
How can I define a filert with redundant field names?