[AccessD] Calling a module in a main form from a subform

Edward S Zuris edzedz at comcast.net
Fri Jun 13 10:41:28 CDT 2008


  Calling a module in a main form from a subform

  The subroutine you call has to be public.

 =================================================
 =================================================

    Dim zzForm                      As Form
    . . .

    ' *********************************************** 
    '  Call some VBA Public Code from another Form.
    '
    Set zzForm = [Forms]![zJP709aBookEdit]
    Call zzForm.aaLoadBookMark
    Set zzForm = Nothing


 =================================================
 =================================================




More information about the AccessD mailing list