Tally UserName Password

abdul_samad

Member
Joined
Nov 5, 2007
Messages
6
Programming Experience
1-3
Hi Admin
plz plz solve my problem i have Login database User Name and Password but how can i tally UserName and password in database Which username are have or not have in data base plz. explain me and give the code
thankx.
 
ei

1). try to check if the username already exist
dim rowindex as integer
datatable.defaultview.sort = "username" ' the fieldname to sort
rowindex = datatable.defaultview.find(newusername)

if not rowindex = -1 then
' code your insert command here
else
msgbox("username already exist")
endif

' i wish this will help you if error persist please try to comprehend it by your self NOTE: programmers are logical thinker
 
I suspect this is another case of a few students that have found their way here for a homework project....

If that is the case, it's not recommended, because you won't learn anything by copying us, and also, we are wise to such practices, such as spotting a VERY SIMILAR QUESTION HERE
 
Back
Top