ctwilliams
Programmer
I have a parameter {?Field} that is set to allow multiple values.
I have a formula {@strField} that joins the parameter values (array) into a comma-delimited string with # characters surrounding each value (eg. #value1#,#value2#)
@strField:
[blue]"#" & join({?Field},"#,#") & "#"[/blue]
My record selection formula contains the following:
[blue]instr({@strField}, "#" & {DBField} & "#") > 0[/blue]
Now the user would like to be able to type * wildcards into the parameter values. How can I change my record selection formula to accomodate this, since I'm using "instr" instead of "LIKE"?
I have a formula {@strField} that joins the parameter values (array) into a comma-delimited string with # characters surrounding each value (eg. #value1#,#value2#)
@strField:
[blue]"#" & join({?Field},"#,#") & "#"[/blue]
My record selection formula contains the following:
[blue]instr({@strField}, "#" & {DBField} & "#") > 0[/blue]
Now the user would like to be able to type * wildcards into the parameter values. How can I change my record selection formula to accomodate this, since I'm using "instr" instead of "LIKE"?