Solved

STOP-sign does not appear.

Posted on 2013-11-29
3
296 Views
Last Modified: 2013-11-29
Hi,

I have an form with a subform. I read with a scanner barcodes which you see in de subform.
After 15 seconds inactivity a ticketprinter prints the report of the products and description. This takes about 2 seconds. The coordinator may not scan products for 2 seconds. I can't set off the scanner because it is a dropbox. Behind the subform there's a STOP-sign. I set the subform visible = false and after printing visible = true. I don't see the STOP-sign, only a white background. When i set execution step by step then everything works fine.
What i'm doing wrong?
Tx
0
Comment
Question by:sonmic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Expert Comment

by:clarkscott
ID: 39684907
Try adding a "DOEVENTS" in the routine that handles these actions.
This command tells your system to keep doing other things.

Scott Clark
0
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 39685081
A Me.Repaint would be better.

Also, as an aside, I find time based interfaces to be problematic on a number of levels.  Always better to leave the user in control.

For example, give  them a command button to indicate they are done, rather then having to wait 15 seconds.

Jim.
0
 

Author Closing Comment

by:sonmic
ID: 39685148
Jim,

You are right.  But the boss has always the last word.

Tx
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question