Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is my formula for a select based on the user specifing a description, or all is returned, or where the description is like '%{?DESCR}%' but I am unsure of the syntax for using LIKE in the formula. The following it does not work.

IF HASVALUE(like(%{?DESCR}%)) THEN{Command.DESCRIPTION} = {?DESCR} ELSE TRUE

Please help.

Thanks
Posted

1 solution

Try using like '%' + {?DESCR} + '%' instead of like(%{?DESCR}%)
or may be you have to change '%' into '*'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900