G
Guest
I have a main form (Documents) that contains two subforms (Revisions and
sfNotes). Both subforms are based on the same Revisions table; however, since
Notes is a memo field and needs more room than the first subform allowed, I'd
like to place it in a different location (on a second subform) on the main
form.
The trick is that, as a new record is selected in the Revisions subform, I
want the sfNotes subform to synchronize so it displays the notes for that
same record. I have the following code in the OnCurrent event of the
Revisions subform:
Private Sub Form_Current()
Forms![Documents]![sfNotes].Requery
End Sub
However, it's not refreshing the sfNotes subform. What am I doing wrong?
Thanks,
Jen
sfNotes). Both subforms are based on the same Revisions table; however, since
Notes is a memo field and needs more room than the first subform allowed, I'd
like to place it in a different location (on a second subform) on the main
form.
The trick is that, as a new record is selected in the Revisions subform, I
want the sfNotes subform to synchronize so it displays the notes for that
same record. I have the following code in the OnCurrent event of the
Revisions subform:
Private Sub Form_Current()
Forms![Documents]![sfNotes].Requery
End Sub
However, it's not refreshing the sfNotes subform. What am I doing wrong?
Thanks,
Jen