S
sj
greetz and thanks in advance for assistance with what i thought should be a
pretty simple task......
i am helping someone who has a single table (may eventually move to
normalized tables but currently still just one table) with fields such as
lastname, firstname, ssn, age, phone, etc. i am using the query criteria
field to prompt the user for input for lastname and also a prompt for ssn. i
am using the following syntax:
Like "*" & [Please enter last name:] & "*"
Like "*" & [Please enter SSN:] & "*"
but unfortunately am not getting all and/or correct records returned.
my goal is to allow the user to input either all or partial last name and/or
all or partial SSN and return records that match appropriately. is there a
way to successfully do this? if so, what should the criteria field contain
to be able to do so. if this can't be done then i would be satisfied with
the user being able to enter either the last name OR the SSN (leaving one of
the prompts blank) and pull up records that match which ever one they enter
(this doesn't seem to work correctly either).
this seemed/seems like a really easy task but i unfortunately can't get it
to work...... any help you can provide is much appreciated! thanks again!
pretty simple task......
i am helping someone who has a single table (may eventually move to
normalized tables but currently still just one table) with fields such as
lastname, firstname, ssn, age, phone, etc. i am using the query criteria
field to prompt the user for input for lastname and also a prompt for ssn. i
am using the following syntax:
Like "*" & [Please enter last name:] & "*"
Like "*" & [Please enter SSN:] & "*"
but unfortunately am not getting all and/or correct records returned.
my goal is to allow the user to input either all or partial last name and/or
all or partial SSN and return records that match appropriately. is there a
way to successfully do this? if so, what should the criteria field contain
to be able to do so. if this can't be done then i would be satisfied with
the user being able to enter either the last name OR the SSN (leaving one of
the prompts blank) and pull up records that match which ever one they enter
(this doesn't seem to work correctly either).
this seemed/seems like a really easy task but i unfortunately can't get it
to work...... any help you can provide is much appreciated! thanks again!