| |
dalejwright22
Posts: 11
Score: 0
Joined: 9/15/2004
From: United Kingdom
Status: offline
|
lowis.. first thing is first, dont have the username as a unique id, have it has a foreing key.. what you need to do is a check of the username, so you could use a simple sql statement to first check for a username entered into a form field being doing a select.. ie.. sql ="SELECT USERNAME FROM TBL WHERE USERNAME = "VAR PASSED IN" then use the record count prop of the recordset to do the check.. ie if ors.recordset = 0 Then Username dosent exist else username does exist this is cheap and dirty but it will give u a basic idea, for a good book try the wrox collections, esp the begineers books cheers
|
|