The reason being is this is for a timeclock program that i created. When employee's are set up in the DB their pin is set to their last 3 of their SSN. Some people don't like to use that and have asked for a way to change their pins to log in to the system. The way they log into the system is only by their pin(as per the way the boss wants it). So in order to be able to change the pins i need to check the DB and make sure that the pin they want to use is not already someone else's.
:
This message was edited by DrMarten at 2006-6-13 15:33:16
:
: Hi,
:
: Is this related to banking? Why worry if PIN exists?
:
: If the pin entered is the same then ask the user to confirm maybe?
:
: If this is related to banking or some other kind of account system then the DATABASE primary key(s) should be;
:
: a) i) Sort code if it is a BANK account followed by
: a)ii) Account number.
:
: b) If it's related to a LOGIN of some sort then the PRIMARY KEY
: should be the user-name only. Like your user-name on this site.
:
:
: I'm doing databases with SQL stuff next year at university ( my 2nd year of a full time course ).
: So i can't help further right now.

:
: I've already done some ACCESS stuff.

:
: Hope some of my comments above help.

:
:
:
: Regards,
:
: Dr M.
:
:
:
:
:
: