My Assistant
![]() ![]() |
|
|
Sep 14 2006, 08:51 PM
Post
#1
|
|
|
UtterAccess Member Posts: 30 From: Cebu, Philippines |
my unique key is a combination of text and a number (e.g. AA123) what would i do in order for it to become continuous (e.g. AA123 and become AA124 in my next record).
|
|
|
|
Sep 14 2006, 08:56 PM
Post
#2
|
|
|
UA Forum Administrator Posts: 38,073 From: Birmingham, Alabama USA |
The Primary Key value should not have any meaning to you or your user ...
You should instead use an Autonumber for your Primary Key for the table ... You can have this field combination in your database as a composite index if you like, but it should not be a composite Primary Key. RDH |
|
|
|
Sep 14 2006, 09:07 PM
Post
#3
|
|
|
UtterAccess Member Posts: 30 From: Cebu, Philippines |
|
|
|
|
Sep 14 2006, 09:22 PM
Post
#4
|
|
|
UtterAccess VIP / UA Clown Posts: 25,072 From: LI, NY |
Do a seach on UA on DMAX to find ways to increment the code you want to use. But, as Ricky said it shouldn't be the PK.
|
|
|
|
Sep 14 2006, 09:30 PM
Post
#5
|
|
|
UA Forum Administrator Posts: 38,073 From: Birmingham, Alabama USA |
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 22nd May 2013 - 08:30 AM |