[AccessD] Access 101 question

Kath Pelletti kp at sdsonline.net
Mon Feb 18 19:53:42 CST 2008


Darryl - you can use the Autoexec macro....

If you save a macro and call it Autoexec it will run on startup of the mdb.

Or another way is to nominate a startup form (under Tools, Startup) and have 
code run from the form load event....
hth
Kath

----- Original Message ----- 
From: "Darryl Collins" <Darryl.Collins at coles.com.au>
To: "Access Developers discussion and problem solving" 
<accessd at databaseadvisors.com>
Sent: Tuesday, February 19, 2008 12:44 PM
Subject: [AccessD] Access 101 question


> Hey there,
>
> I am sure this is dead easy, but am having brain freeze today.  What is 
> the equivalent in Access of Excel's "Workbook_Open" command? 
> "Workbook_Open" will automatically run as the workbook opens and I want 
> the same sort of thing for Access.  There are a few things I need to check 
> as Access Opens but I am not sure on the syntax of this.
>
> Cheers
> Darryl
>
> This email and any attachments may contain privileged and confidential 
> information and are intended for the named addressee only. If you have 
> received this e-mail in error, please notify the sender and delete this 
> e-mail immediately. Any confidentiality, privilege or copyright is not 
> waived or lost because this e-mail has been sent to you in error. It is 
> your responsibility to check this e-mail and any attachments for viruses. 
> No warranty is made that this material is free from computer virus or any 
> other defect or error.  Any loss/damage incurred by using this material is 
> not the sender's responsibility.  The sender's entire liability will be 
> limited to resupplying the material.
>
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 





More information about the AccessD mailing list