Help - Coding

  • Thread starter Thread starter skib
  • Start date Start date
S

skib

Guest
Hey, i need help with a code. It shouldn't be too hard but i don't know where to start as i am unskilled on this program.

I am looking for an input box saying 'enter password here' to pop-up. If it is the same as say 'customer' then i want it to let the user into another form.

Does anyone have any idea.

Please help,
cheers,
scott.
 
Try this:

Dim strAnswer as string
strAnswer = inputBox("Enter Password Here")

If strAnswer = "customer" then
docmd.OpenForm "NewForm"
end if

'What cha think?"
"Is it green?"
 
Searching the forum is a great way to discover and learn the answers to your Access programming questions.

There are plenty of threads floating around this forum with answers and samples to your question.
 

Users who are viewing this thread

Back
Top Bottom