I am having a problem with the subforms that I created with the Navigation Form. I am using Access 2010.
I have searched the web for the answer to my problem and can't figure out why my subforms are not working.
I created some forms and got them working the way I wanted. I then created a Navigation Form using the 'Create Navigation Form Button'. After I aded the forms and tried to run them, I get a Paramater Box asking for the paramaters for the subform I am trying to use.
My search of the web revealed that I need to reference the subform fromthe Main form by this format:
[Forms]![frmParentform]![frmNavigationsubform].[form].[cboControl]
So I put inserted the format into my VBA scripts following that format and got an Error 2465 'Can't find the field 'Transaction' reference to in you expression.' Here are the forms and control I put in the line:
frmParentform = Navigation Form
frmNavigationsubform = Transaction
cboControl = NewRecord
From what I understand, I have to refer to the subform control from the Main form. Am I missing something or left something out or just have the formating incorrect. Do I have to use this format trhoughout my VBA coding for the subforms?
Thanks
David
I have searched the web for the answer to my problem and can't figure out why my subforms are not working.
I created some forms and got them working the way I wanted. I then created a Navigation Form using the 'Create Navigation Form Button'. After I aded the forms and tried to run them, I get a Paramater Box asking for the paramaters for the subform I am trying to use.
My search of the web revealed that I need to reference the subform fromthe Main form by this format:
[Forms]![frmParentform]![frmNavigationsubform].[form].[cboControl]
So I put inserted the format into my VBA scripts following that format and got an Error 2465 'Can't find the field 'Transaction' reference to in you expression.' Here are the forms and control I put in the line:
frmParentform = Navigation Form
frmNavigationsubform = Transaction
cboControl = NewRecord
From what I understand, I have to refer to the subform control from the Main form. Am I missing something or left something out or just have the formating incorrect. Do I have to use this format trhoughout my VBA coding for the subforms?
Thanks
David