Duplicate Alert : need info

B

BARKAROO

I have a table called "TRACKING" (My primary key uses autonumber)
The form that uses this table is called "PERMIT TRACKING"
On the form "PERMIT TRACKING", I have a text box "Permit Number" (indexed
with duplicates - this is the way I want it)
However, I would like for the user to be alerted that the entry already
exists: do you want to continue? if a duplicate is entered into that field
on the attached form. I read the answer that you provided to jennyhuffman71,
but I'm having difficulty with the code.
In the answer provided to her, it references a query. Is that just a name,
or is there an actual query? Please forgive my nievity, but I don't know
anything about code, I'm kind of on my own to figure this out. Any help
would be greatly appreciated.
 
B

BARKAROO

Sorry, this is what I have so far:

Private Sub “PERMIT NUMBERâ€_BeforeUpdate(Cancel As Integer)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top