Re: Before Update
From: Allen Browne (AllenBrowne_at_SeeSig.Invalid)
Date: 08/26/04
- Next message: John Vinson: "Re: mutiple Combobox 's problem"
- Previous message: neenmarie: "RE: Parent Form Not Recognizing SubForm Requery Criteria Code"
- In reply to: Larry: "Before Update"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Before Update"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Before Update"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Aug 2004 13:09:42 +0800
Use DLookup() to see if the value is already there.
See:
Getting a value from a table: DLookup()
at:
http://members.iinet.net.au/~allenbrowne/casu-07.html
-- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Larry" <anonymous@discussions.microsoft.com> wrote in message news:049601c48b1e$5b5abed0$a501280a@phx.gbl... > When a user is adding a new part number I would like to > add a BeforeUpdate statement that verifies if it already > exists in the database and if does; have it display a > error message " This is already in the database,. Please > verify the Part number".
- Next message: John Vinson: "Re: mutiple Combobox 's problem"
- Previous message: neenmarie: "RE: Parent Form Not Recognizing SubForm Requery Criteria Code"
- In reply to: Larry: "Before Update"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Before Update"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Before Update"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|