dynamictiger
Technical User
I have a form with two subforms that are seperate but linked by the main form which has a linking field.
I now want to add a third subform to navigate and add new as required.
To try and make this clear:
Main Form - SubForm1 - Link - SubForm2
SubNavigate - updates - Subform1 - Updates - Link - Updates - Subform2
I am having a bit of fun with the naviagation from the SubNavigate form.
This form has three buttons. Next Back and Add.
At the moment I am just looking at the Next as I think if I can get this operating the others will be simple.
I have code like:
Dim strForm As String
strForm = CStr(Me.Parent("ChemMsg"
.Form)
MsgBox Me.Parent("ChemMsg"
.Form("cboMessage"
DoCmd.GoToRecord , strForm, acNext
MsgBox Forms("frmChemName"
("tblMessages"
("ChemMsg"
.Form("cboMessage"
However, it appears the syntax ("ChemMsg"
is causing a problem. I think this requires single double quotes approach, but I have not yet been able to sort this out.
Anyone got this solved?
I now want to add a third subform to navigate and add new as required.
To try and make this clear:
Main Form - SubForm1 - Link - SubForm2
SubNavigate - updates - Subform1 - Updates - Link - Updates - Subform2
I am having a bit of fun with the naviagation from the SubNavigate form.
This form has three buttons. Next Back and Add.
At the moment I am just looking at the Next as I think if I can get this operating the others will be simple.
I have code like:
Dim strForm As String
strForm = CStr(Me.Parent("ChemMsg"
MsgBox Me.Parent("ChemMsg"
DoCmd.GoToRecord , strForm, acNext
MsgBox Forms("frmChemName"
However, it appears the syntax ("ChemMsg"
Anyone got this solved?