mangeloni
03-30-2003, 01:25 AM
I want to set up a semi-unique entry in a table...let me explain:
Participants Table (Access 2000):
-Email field (key field)
-GuesserUN field
I want to allow the user to enter as many records as needed with their email address but only once in combination with an entry number in GuesserUN. Other records can also share the same GuesserUN, but only once each.
For example:
Email value GuesserUN value
(entered by user) (entered with hidden field SV from previous login)
1@2.com G001 >> OK
1@2.com G002 >> OK, same email, different GuesserUN
1@2.com G001 >> NOT ok, since this value combo has already been entered
A@B.com G001 >> OK, different email with this
GuesserUN
How can I accomplish this? I thought of having another field which combines the values of Email (excluding everything after @) and GuesserUN into one field, creating a unique combination. Does anybody know how to accomplish my idea - or do you have another approach?
Using DW4, ASP/JavaScript
Your help is greatly appreciated!!
~MVA
Participants Table (Access 2000):
-Email field (key field)
-GuesserUN field
I want to allow the user to enter as many records as needed with their email address but only once in combination with an entry number in GuesserUN. Other records can also share the same GuesserUN, but only once each.
For example:
Email value GuesserUN value
(entered by user) (entered with hidden field SV from previous login)
1@2.com G001 >> OK
1@2.com G002 >> OK, same email, different GuesserUN
1@2.com G001 >> NOT ok, since this value combo has already been entered
A@B.com G001 >> OK, different email with this
GuesserUN
How can I accomplish this? I thought of having another field which combines the values of Email (excluding everything after @) and GuesserUN into one field, creating a unique combination. Does anybody know how to accomplish my idea - or do you have another approach?
Using DW4, ASP/JavaScript
Your help is greatly appreciated!!
~MVA