Ignore input during popup

  • Thread starter steamngn via AccessMonster.com
  • Start date
S

steamngn via AccessMonster.com

Hi all,
I have a student check in screen where a main form is refreshed with the
timer every few seconds; when a user swipes their barcode card a popup screen
tells them they have successfully signed in. This screen is up for 3 seconds.
If someone tries to swipe in during this popup (We are talking about kids
here!) then the screen will display a random name from the database and it
may or may not log the student in correctly. Is there a way to lock or ignore
all input while the popup screen is open? The barcode reader is a keyboard
wedge type, so blocking or ignoring the keyboard would do the trick.
TIA,
Andy
 
J

Jeanette Cunningham

Andy,
try it with the popup form opening with the acDialog argument.

Jeanette Cunningham
 
S

steamngn via AccessMonster.com

Hi Jeanette,
I'm using the following to open the popup:
DoCmd.OpenForm "Confirmation", , , , , , Me!Text24 & "|1|1|" & Me!
EVENT_ST_TIME & "|" & Me!EVENT_DESC

I use a little code to parse out the strings between the "|" in the args so
that the popup can display the student name and the class they just signed in
for. I don't understand how acDialog will prevent input while the popup is
open; can you explain it better please?
Thanks for helping!
Andy

Jeanette said:
Andy,
try it with the popup form opening with the acDialog argument.

Jeanette Cunningham
Hi all,
I have a student check in screen where a main form is refreshed with the
[quoted text clipped - 10 lines]
TIA,
Andy
 
J

Jeanette Cunningham

Andy,
usually when a form is opened acDialog, all other forms and processes pause
until the acDialog form is closed or hidden.

DoCmd.OpenForm "Confirmation", , , , , acDialog , Me!Text24 & "|1|1|" & Me!
EVENT_ST_TIME & "|" & Me!EVENT_DESC

Jeanette Cunningham

steamngn via AccessMonster.com said:
Hi Jeanette,
I'm using the following to open the popup:
DoCmd.OpenForm "Confirmation", , , , , , Me!Text24 & "|1|1|" & Me!
EVENT_ST_TIME & "|" & Me!EVENT_DESC

I use a little code to parse out the strings between the "|" in the args
so
that the popup can display the student name and the class they just signed
in
for. I don't understand how acDialog will prevent input while the popup is
open; can you explain it better please?
Thanks for helping!
Andy

Jeanette said:
Andy,
try it with the popup form opening with the acDialog argument.

Jeanette Cunningham
Hi all,
I have a student check in screen where a main form is refreshed with the
[quoted text clipped - 10 lines]
TIA,
Andy
 

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

Top