Wilcards in Variables?
Posted: Fri Aug 13, 2004 1:55 am
Am having difficulty with including a wildcard within a variable.
To cut a long story short I am have an application where I want users to be able to configure their own wildcard searches e.g. '%findthis' etc.
When the search criteria containing the wildcard is carried forward (as a variable) and submitted in a query I continuously get an error message stating 'Warning: printf(): Too few arguments in ....' where ... defines the code line.
I can code the wildcard into the Select statement but I would rather the users construct their own.
Any thoughts?
Hebbs
To cut a long story short I am have an application where I want users to be able to configure their own wildcard searches e.g. '%findthis' etc.
When the search criteria containing the wildcard is carried forward (as a variable) and submitted in a query I continuously get an error message stating 'Warning: printf(): Too few arguments in ....' where ... defines the code line.
I can code the wildcard into the Select statement but I would rather the users construct their own.
Any thoughts?
Hebbs