View Single Post
  #3  
Old June 3rd, 2010, 07:16 PM posted to microsoft.public.access
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Display a message box "this entry is a duplicate"

Tina

Would you rather have a way to "find" an existing number if one existed, or
have your computer tell you that you can't use the number you just tried to
use?

It might be a bit more user friendly to provide a combobox (drop-down)
containing existing [ShipmentNumber]s, set the LimitToList property to Yes,
and add a NotInList event to allow the user to create a new
[ShipmentNumber]. More work for you, (much) less for the user...

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Tina" wrote in message
...
How can I display a message box on a form if the shipment number is a
duplicate? I need a message box to pop up when user attempts to tab out
of
the field.

Thank you.