[AccessD] Which Event opened the form?

Stuart McLachlan stuart at lexacorp.com.pg
Tue Oct 7 05:28:34 CDT 2003


On 7 Oct 2003 at 12:10, Garraway, Alun wrote:

> hello all,
> 
> how can a form know how it was opened, 
> or rather which event was used to open the form?
> 
> for ex. cmd1_click from form1 or txt1_doubleClick from form2
> both these events open form_info.
> 
> is it possible to capture the event and pass it to the form?
> 

Pass an OpenArgs argument in the Docmd.OpenForm and read it in the 
form's "On_Open"





 
-- 
Lexacorp Ltd
http://www.lexacorp.com.pg
Information Technology Consultancy, Software Development,System 
Support.





More information about the AccessD mailing list