dbTalk Databases Forums  

Create unique value

comp.database.ms-access comp.database.ms-access


Discuss Create unique value in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
elmo
 
Posts: n/a

Default Create unique value - 10-14-2004 , 05:22 AM






Hi to all,

I have a somewhat interesting problem that needs solving. I have built a
system to keep track items that are booked in for repairs. These items do
not have serial number. Each item is tagged and the TAGNO is made up of the
following. YEAR + JOBNO. This is all fine. The problem is that the client
can bring in two identicle articles on the same job and when this happens I
need to append a "A" or "B" to the TAGNO. eg 2004/1029A. The A or B will
only be added if item is duplicated.

Any ideas of how to add this if the scenario occurs.

Tnaks
Elmo



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.