Bill Patten
bill_patten at embarqmail.com
Mon Jul 18 11:03:48 CDT 2011
Hi Rocky, I think I'd just make it public. Bill -------------------------------------------------- From: "Rocky Smolin" <rockysmolin at bchacc.com> Sent: Monday, July 18, 2011 8:57 AM To: <accessd at databaseadvisors.com> Subject: [AccessD] Referring to a function in a subform Dear List: Gets me every time. I want to call a private function in a subform on my main form. Subform name is subfrmAccount, main form is frmEditAccounts, function name is MakeShippingLabelEditAccounts. I've tried a lot of variations like: Me.fldShippingLabel = Forms!frmEditAccounts.subfrmAccount.Form.MakeShippingLabelEditAccounts with ! and . in various places and nothing works. The function works fine when I use it in the subform. Help! MTIA Rocky Smolin Beach Access Software 858-259-4334 www.bchacc.com <http://www.bchacc.com/> www.e-z-mrp.com <http://www.e-z-mrp.com/> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com