What is the syntax for calling a procedure from a different form? I have a subform, and I want the double-click event of a textbox to run a procedure in its parent form.
Private Sub SelectedDate_DblClick(Cancel As Integer)
Me.Parent!FirstDate = SelectedDate
‘ Forms!frmToggleCalendar.FillDates
End Sub
When this code is executed (minus the comment), it generates run-time error 2465. Also tried with Me.Parent syntax, but with same result.
TIA