>O.K. I have created a modal password .scx file with buttons and boxes I do not have a clue what code or??? to use to validate the password (simple users.dbf with info and password
>do you have any ideas???
>
>Thanks for the article to Hilmar's transaction log I am going to almost exactly that with a couple of twists.
>
>Thanks again for your help
>
>Fred W.
Well, you would probably need to encrypt the passwords. But let's assume for now you don't have them encrypted.
You need a Users DBF with UserID and Password fields (plus additional fields). Then you simply try to search for the provided userID, something like
if Seek(rtrim(thisform.txtUserID.value), 'Users','UserID')
if rtrim(Users.Password) = rtrim(thisform.txtPassword.value)
else
endif
else
endif
If it's not broken, fix it until it is.
My Blog