5 pts.
 Passing a form to subroutine in Access 2003 (VBA)
I have a function that recieves references to 2 forms and 2 controls. The sub looks like this Public Sub Not_In_List_Starting_Handler(vNewData as string,Not_in_list_form As Form, List_control As Control, Lookup_Form As Form, Lookup_Control As Control) when I try to call it from the form I get all types of errors - data mismacth, byval required, etc.. Here is how I'm trying to call it. Call not_in_list_starting_handler(NewData, Form_SubformShabbosPlacements, Me.HostName, Form_Contacts, Me.Name)
It's not working. Help, Please.

Software/Hardware used:
Acess 2003
ASKED: Sep 21, 2011  3:56 AM GMT
UPDATED: March 31, 2012  3:50:13 PM GMT
5 pts.

Answer Wiki:
Last Wiki Answer Submitted:  Sep 21, 2011  3:56 AM (GMT)  by  Nainey   5 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _