G
Guest
I have a form that i enter records with a lot of fields. I start with a
StyleNo and the color which has referential integrity. If I entered a style
w/ a color that is not entered in the referenced table, a error message comes
out, but only after you have finished entering that record. How can be
alerted of the error as soon as I entered the style and color (primary index
,1st and 2nd field) This way I can stop entering. What I did is on the second
field I entered a requery comand on the after update event. This is okay, if
the style and color was not enter - an errod dialog
box appears, if I re-enter a color that is actually in the table, it
automaticall reindex
and it goes wherever it goes, it does not stay as the last record being
entered.
Is there a better way of making the rror mesage appear and not lose focus or
place. TIA for any input.
StyleNo and the color which has referential integrity. If I entered a style
w/ a color that is not entered in the referenced table, a error message comes
out, but only after you have finished entering that record. How can be
alerted of the error as soon as I entered the style and color (primary index
,1st and 2nd field) This way I can stop entering. What I did is on the second
field I entered a requery comand on the after update event. This is okay, if
the style and color was not enter - an errod dialog
box appears, if I re-enter a color that is actually in the table, it
automaticall reindex
and it goes wherever it goes, it does not stay as the last record being
entered.
Is there a better way of making the rror mesage appear and not lose focus or
place. TIA for any input.