Automatic Duplicate Prompt

H

H E Johnson

I've asked this before but I didn't really get a good answer. I'll explain
better this time.

I am creating a database to log grain samples in and out of my office. They
each have Identification Numbers, such as AEP 1452 or ACBL 1653, mostly
alphanumeric. However, these IDs can turn up as AEP-1452, AEP 1452 B, etc,
but it is all the same. I need my database to, when I enter the ID, find
similar IDs so we can catch duplicates. My definition of 'similar' is having
the same string of numbers *OR* letters, because I know that getting both
will be tricky (there will be multiple people entering this information and
they can come in differently, like above).

I just need someone to point me in the right direction because I'm really
not sure where to begin to tackle this.

Thank you!
 
P

Piet Linden

I've asked this before but I didn't really get a good answer. I'll explain
better this time.

I am creating a database to log grain samples in and out of my office. They
each have Identification Numbers, such as AEP 1452 or ACBL 1653, mostly
alphanumeric. However, these IDs can turn up as AEP-1452, AEP 1452 B, etc,
but it is all the same. I need my database to, when I enter the ID, find
similar IDs so we can catch duplicates. My definition of 'similar' is having
the same string of numbers *OR* letters, because I know that getting both
will be tricky (there will be multiple people entering this information and
they can come in differently, like above).

I just need someone to point me in the right direction because I'm really
not sure where to begin to tackle this.

Thank you!

Try using LIKE...

LIKE "AEP?1452"

each ? stands for a single character.

This might help... helped me!
http://office.microsoft.com/trainin...ID=RP011299481033&CTT=6&Origin=RP011299351033
 

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