S
scuba1392
I have 2 tables - one is the customer master which contains customer # (the
unique key) and the customer' name and address - the second table collects
customer input data. Via an input form, users will input the customer
number (that is bar coded and the input comes from a scaner) and I want to
ensure it is a valid number (it exists on the customer master). What coding
should I use in the "after update" event on the data entry form? I have
tried linking the 2 tables as a 1 to many with referential integrity and if a
customer number is input that is NOT on the master I get ErrorCode 3201 which
I have trapped in the FORM_ERROR event; however, I can't make the MS Access
pop-up window stop appearing after my pop-up. Any suggestions ??? Should
this be posted in "Programming" or here as I'm trying to use VBA to handle
the task ?
unique key) and the customer' name and address - the second table collects
customer input data. Via an input form, users will input the customer
number (that is bar coded and the input comes from a scaner) and I want to
ensure it is a valid number (it exists on the customer master). What coding
should I use in the "after update" event on the data entry form? I have
tried linking the 2 tables as a 1 to many with referential integrity and if a
customer number is input that is NOT on the master I get ErrorCode 3201 which
I have trapped in the FORM_ERROR event; however, I can't make the MS Access
pop-up window stop appearing after my pop-up. Any suggestions ??? Should
this be posted in "Programming" or here as I'm trying to use VBA to handle
the task ?