Inputbox - exit routine

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have followed the general advice for masking a password , i.e create a
modal form and set the textbox property to "Password".

What I am attempting to do is allow the user a set number of attempts before
the database shuts done.I have done this using an inputbox - assign the
return value to another variable and place the counter in a "Do ... Loop".

However I am finding it difficult to emulate this functionality with the
modal form.

Can anyone help me please?


sysAccountant
 
Don't use a loop, use a hidden textbox on the form to store the number
of times the OK button is clicked, by incrementing by one each time, and
aborting if the value stored exceeds the limit.

HTH,
Nikos
 
Nikos

Thanks!

Your suggestion worked.

Sorry about the long delay in responding - I only just implemented your
solution yesterday

Regards


sysAccountant
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top