G
Guest
I have a form linked to a customer table. On the form is an Add New button. I
need to check for duplicated codes after user enters the customer and not
after all the form has been filled in.
Can anyone tell me which event I should do this on i.e. Before Update, After
Update etc etc.
If a duplicate is found I put out my own error message, spacefill the
customer code and go to the customer code control. Unfortunately though the
code is blanked out, control goes to the next field and I finish up writing
away a record with a blank customer code.
Any ideas or places where I could look at how this should be handled?
Thanks in anticipation.
need to check for duplicated codes after user enters the customer and not
after all the form has been filled in.
Can anyone tell me which event I should do this on i.e. Before Update, After
Update etc etc.
If a duplicate is found I put out my own error message, spacefill the
customer code and go to the customer code control. Unfortunately though the
code is blanked out, control goes to the next field and I finish up writing
away a record with a blank customer code.
Any ideas or places where I could look at how this should be handled?
Thanks in anticipation.