J
James Houston
I need to run a query where I know the first 4 and last 4 characters in a 16
character string. But the following query
SELECT Trans.Number, Trans.Ticket, Trans.Date, Trans.Card
FROM Trans
WHERE (((Trans.Card) Like [Begin] & "*" & [End]));
returns no results. If I provide a value for the [Begin] parameter and
leave the [End] parameter blank, I get several hits. If I provide values
for both parameters, I get nothing. Likewise, if I leave the [Begin]
parameter blank & provide a value for the [End] parameter, I get no results.
I really need to be able to match both ends of the string. Anybody have any
ideas? Thanks in advance.
Jim
character string. But the following query
SELECT Trans.Number, Trans.Ticket, Trans.Date, Trans.Card
FROM Trans
WHERE (((Trans.Card) Like [Begin] & "*" & [End]));
returns no results. If I provide a value for the [Begin] parameter and
leave the [End] parameter blank, I get several hits. If I provide values
for both parameters, I get nothing. Likewise, if I leave the [Begin]
parameter blank & provide a value for the [End] parameter, I get no results.
I really need to be able to match both ends of the string. Anybody have any
ideas? Thanks in advance.
Jim