Check the Duplicate Value.

mkkashif

Registered User.
Local time
Yesterday, 22:51
Joined
Sep 1, 2004
Messages
88
when adding new record if id has duplicate value the message appera (default message from microsoft).
how can we put our message.on before update event.
not using macro.
in vb code.???
 
I believe that is done under "Design View" of your table under "Validation Text" !

That text is displayed everytime an MS Access error occurs!

U can also define error traps in which text is also displayed under "Validation Rule"!
 
This is not helpful

Dear
this is not helpful
send me the code which we can use for avoiding dupplicate value.
message appear when the customer type the same value which already in the table.
i think the event for this before update.
 
In the table design set to your ID 's index to "No duplicate".

Then under "Validation text" type in "YOUR MESSAGE WHEN DUPLICATE OCCURS".
 

Users who are viewing this thread

Back
Top Bottom