Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password in a table

Status
Not open for further replies.

samotek

Technical User
May 9, 2005
197
BG
Can you help me build a password that is written in the table “my company information” field PIN
I want at first to write the password by opening the form containig this table, and after that, with the help of what is written there pass it to the variable strPassword ?
As in :
Dim strPassword As String
strPassword = InputBox("Please enter the password")
If strPassword = "pin" Then
 
Do you mean DLookUp?

[tt]If Nz(DlookUp("pin","my company information","pin='" & strPassword & "'"),0)>0 Then
'pin is correct[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top