P
Paul Fenton
We have a table of Subjects with their Social Security #'s as the
identifier. Some of the SSAN's are identical to others but
differentiated by a 1 letter suffix. Example:
111111111
111111111A
111111111B
etc.
In the course of entering new subjects, we need to check to see if the
SSAN entered has any matches in the existing subjects. The user has
no way of knowing if it's there in any form at all... all he has is a
9 digit SSAN.
I've been trying to design a query that gets the SSAN from the entry
form, then finds all instances of that number, including those with a
suffix.
If I set the criteria on a query form to <Like "000000000" & "*">, I
get all the records. But I can't seem to be able to pass that string
to the query form using .Parameters or by using a function that
resolves to <Like "000000000" & "*">
How can I find the records that I need?
Paul Fenton
PLG & Associates.
identifier. Some of the SSAN's are identical to others but
differentiated by a 1 letter suffix. Example:
111111111
111111111A
111111111B
etc.
In the course of entering new subjects, we need to check to see if the
SSAN entered has any matches in the existing subjects. The user has
no way of knowing if it's there in any form at all... all he has is a
9 digit SSAN.
I've been trying to design a query that gets the SSAN from the entry
form, then finds all instances of that number, including those with a
suffix.
If I set the criteria on a query form to <Like "000000000" & "*">, I
get all the records. But I can't seem to be able to pass that string
to the query form using .Parameters or by using a function that
resolves to <Like "000000000" & "*">
How can I find the records that I need?
Paul Fenton
PLG & Associates.