I have tried without success to have a mainform(frmFluteTypePapers) with 2 subforms
(frmFTPResults) & (frmNewGrade) and get them to requery
Mainform has three comboboxes that get data from a query after the last combo is updated then frmFTPResults show all related records.
Then in the Click event of frmFTPResults I have the following code which opens a pop up form
Then when I click on any record selector in frmFTPResults frmNewGrade shows data related to that record.
So what I tried to do was have frmNewGrade as another subform in the Main Form however no matter what I try I cannot get the second sub form to requery from the onClick event in the first subform
I keep getting messages like "cannot find form frmNewGrade"
I have tried
but I always get the same message.
Can anyone help, PLEASE!!!!!
Regards
Paul
(frmFTPResults) & (frmNewGrade) and get them to requery
Mainform has three comboboxes that get data from a query after the last combo is updated then frmFTPResults show all related records.
Then in the Click event of frmFTPResults I have the following code which opens a pop up form
Code:
Private Sub Form_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmNewGrade"
stLinkCriteria = "[Record_ID]=" & Me![Record_ID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
Then when I click on any record selector in frmFTPResults frmNewGrade shows data related to that record.
So what I tried to do was have frmNewGrade as another subform in the Main Form however no matter what I try I cannot get the second sub form to requery from the onClick event in the first subform
I keep getting messages like "cannot find form frmNewGrade"
I have tried
Code:
Forms![frmnewGrade].Requery
Code:
Forms![frmFluteTypePapers]![frmnewGrade].Requery
but I always get the same message.
Can anyone help, PLEASE!!!!!
Regards
Paul