AW: [AccessD] Which Event opened the form?

Garraway, Alun Alun.Garraway at otto.de
Tue Oct 7 05:43:41 CDT 2003


BINGO :-)

tvm

alun

-----Ursprüngliche Nachricht-----
Von: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Stuart
McLachlan
Gesendet: Dienstag, 7. Oktober 2003 12:29
An: Access Developers discussion and problem solving
Betreff: Re: [AccessD] Which Event opened the form?


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.



_______________________________________________
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