[AccessD] Referring to a function in a subform

Charlotte Foust charlotte.foust at gmail.com
Mon Jul 18 11:13:28 CDT 2011


Bill has it right.  If the scope of the routine isn't public, it is visible
as a method only within the subform itself.

Charlotte Foust

On Mon, Jul 18, 2011 at 8:57 AM, Rocky Smolin <rockysmolin at bchacc.com>wrote:

> 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
>
>
>



More information about the AccessD mailing list