maximyshka
asked on
Use "-" in the unique field
Hi, does it make any difference whether or not I will use "-" in the Unique number field.
Example "1111111111-222222". We have such field in master file for reporting purposes.
Unique field is the main field we use for programming, groupping, indexing, reporting etc.
Is this OK to use field "1111111111-222222" or I have to use field "1111111111222222" as primary key and use field ""1111111111-222222" for reporting purposes
Example "1111111111-222222". We have such field in master file for reporting purposes.
Unique field is the main field we use for programming, groupping, indexing, reporting etc.
Is this OK to use field "1111111111-222222" or I have to use field "1111111111222222" as primary key and use field ""1111111111-222222" for reporting purposes
You can use "-" in a unique number field. However, it is obviously text and not a number. Neither will it be automatically incremented as an Autonumber type. Your only requirements would be uniqueness.
ASKER
I have a field in the format 1111111121-2222222 which I want to use as primary key. Yes this field i text. Incrementing not needed
Then, yes, you may include and use the "-".
Lee
Lee
ASKER
MX, autonumber will not work. Value "1111111121-2222222" is uniquely identify all information about this loan.
Something similar to composite key
1111111121
2222222
Something similar to composite key
1111111121
2222222
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot
mx