Although it's hidden form, It is printed.

S

suntisuka

I have a hidden form which run as background program and be activated by
timer ever 1 minute. When I preview any form or report, if it is the same
time that hidden form is activated, and then print it. That hidden form will
be printed instead. I think eventhough it is hidden form but, when active
,Access don't mind whether it hidden or not and then print it as usual.

Have any idea to solve ?
Thank you.
 
G

George Nicholson

You might want to search your code for all instances of the "ActiveForm"
property (especially Print routines) and replace them with the actual form
name since you can't guarantee what is Active at any given time. ActiveForm
is a read-only property so changing its value is not an option. Avoiding it
is.

HTH,
 

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


Top