[AccessD] DoCmd.OpenForm question

Asger Blond ab-mi at post3.tele.dk
Thu Jul 17 09:11:27 CDT 2008


I think a form is to be considered as a class, and opening a form as
instantiating that class - then opening the form again with different
arguments just makes a new instance separate from the existing one.
As I understand it the modules behind forms are actually class-modules.

Asger

-----Oprindelig meddelelse-----
Fra: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] På vegne af Arthur Fuller
Sendt: 17. juli 2008 15:31
Til: Access Developers discussion and problem solving
Emne: [AccessD] DoCmd.OpenForm question

If a form is already open and you issue a DoCmd.OpenForm command mentioning
the same forrm but with new arguments, exactly what happens? It appears to
me that the form doesn't close and re-open but the new arguments (in this
case WhereCondition) seem to get applied. How does this work?

TIA,
Arthur
-- 
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