K
Ken
I Add Criteria to an SQL Stmt with the following code:
strCriteria = strCriteria & "((Orders." & Ctl.Name & ") Like " & Chr(34) &
Chr(42) & str(Ctl.Value) & Chr(42) & Chr(34) & Chr(41)
The result looks like:
(((Orders.Section) Like "* 1009.18*"))
it is the only variable that doesn't return the records and I assume its
because of the space between the * and the 1. I don't know why it is there
and I can't get rid of it.
Any Ideas, am I missing something simple?
Thanks in advance for any help.
strCriteria = strCriteria & "((Orders." & Ctl.Name & ") Like " & Chr(34) &
Chr(42) & str(Ctl.Value) & Chr(42) & Chr(34) & Chr(41)
The result looks like:
(((Orders.Section) Like "* 1009.18*"))
it is the only variable that doesn't return the records and I assume its
because of the space between the * and the 1. I don't know why it is there
and I can't get rid of it.
Any Ideas, am I missing something simple?
Thanks in advance for any help.