A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Wait for form load then have VBA trigger a button.



 
 
Thread Tools Display Modes
  #1  
Old April 8th, 2010, 03:35 PM posted to microsoft.public.access.forms
Hoardling1 via AccessMonster.com
external usenet poster
 
Posts: 24
Default Wait for form load then have VBA trigger a button.

IT WORKED!!!!

Thank You Thank You Thank You!!!!!!!


Jeanette Cunningham wrote:
Here is one suggestion (untested):

1.Try using a separate form with a button.
Open form with button.
On its current event,
-Put code to open the form with the queries.
-Then a call to DoEvents (just DoEvents on one line).
-Then a call to the code on the form with queries, that creates the pdf.

If that doesn't help, try using WithEvents to tell the form with the button
that the form with the queries has finished loading.
See help for WithEvents.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

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

[quoted text clipped - 18 lines]
information
for user to change info if necessary.


--
Message posted via http://www.accessmonster.com

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.