K
Keith
I'm setting up a query that I will be using to add data
to two tables. The first table is the primary table and
it may or may not have data in it. I use the SSN as the
Primary Key and with the query use a like query to look
for the ssn.
Can I set it up so that if the SSN is not in the primary
table the it will put it into the primary key
field "ind_ssn" As it is now the user must type the ssn a
second time if the ssn is not found.
Code:
SELECT DEPS.indiv_name, DEPS.ind_ssn, DEPS.rctg_stn_id,
DEPS.SVC
FROM DEPS
WHERE (((DEPS.ind_ssn) Like [Enter SSN] & "*"));
Keith
to two tables. The first table is the primary table and
it may or may not have data in it. I use the SSN as the
Primary Key and with the query use a like query to look
for the ssn.
Can I set it up so that if the SSN is not in the primary
table the it will put it into the primary key
field "ind_ssn" As it is now the user must type the ssn a
second time if the ssn is not found.
Code:
SELECT DEPS.indiv_name, DEPS.ind_ssn, DEPS.rctg_stn_id,
DEPS.SVC
FROM DEPS
WHERE (((DEPS.ind_ssn) Like [Enter SSN] & "*"));
Keith