[AccessD] Refer to Forms as variables...

Collins, Darryl Darryl.Collins at anz.com
Sun Oct 4 23:10:47 CDT 2009


Hi All,

I know I have done this before, but now I can't seem to get it to work
right now - not much joy on Google. Bah Humbug and Grrrr. Using A2003.

This works
[Forms]![ITPMO_frmMenu_ResourcesHumans]![ITPMO_frmResources_People_].[Fo
rm].Requery

But what I want to do is this:
[Forms]![& gstrFormName & ]![ & gstrSubForm & ].[Form].Requery

Where gstrFormName = "ITPMO_frmMenu_ResourcesHumans"
And gstrSubForm  ="ITPMO_frmResources_People_"

Anyone got any pointers?

Cheers
Darryl.

"This e-mail and any attachments to it (the "Communication") is, unless otherwise stated, confidential,  may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Australia and New Zealand Banking Group Limited ABN 11 005 357 522, or any of its related entities including ANZ National Bank Limited (together "ANZ"). ANZ does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication."




More information about the AccessD mailing list