H
Hoardling1 via AccessMonster.com
Ok, I am having a hard time with this. Access 2007 I have a button that
takes an image of the form and makes it a pdf. Now I need to automate this,
the form loads quite a few queries and displays it. The problem is I keep
getting this error : "This action can't be carried out while processing a
form or report event." So now I have to figure out how to wait for form to
finish loading and then change focus and then trigger button. I've tried all
kinds of different patterns macros, timers, modules etc... Just unable to
figure out how to execute when form is finished loading.
The button works perfectly fine when I go in and manually click it so I know
the internal code is working fine, just the load form and trigger isn't. So
I am looking for any new or fresh ideas on getting this button to trigger
after the form loads.
I know reports are better, but this form also displays variable information
for user to change info if necessary.
takes an image of the form and makes it a pdf. Now I need to automate this,
the form loads quite a few queries and displays it. The problem is I keep
getting this error : "This action can't be carried out while processing a
form or report event." So now I have to figure out how to wait for form to
finish loading and then change focus and then trigger button. I've tried all
kinds of different patterns macros, timers, modules etc... Just unable to
figure out how to execute when form is finished loading.
The button works perfectly fine when I go in and manually click it so I know
the internal code is working fine, just the load form and trigger isn't. So
I am looking for any new or fresh ideas on getting this button to trigger
after the form loads.
I know reports are better, but this form also displays variable information
for user to change info if necessary.