I have asked this B4 but with no luck so I'll try my luck again.
I'm trying to use a calendar to select dates on a sub form and not getting anywhere. The calendar will work ok if I open the sub form on it's own but when I open the main form, which obviously has the sub form on it, the calendar will not work. I have used the following in the On Click of the calendar;
Private Sub cmdFrom_Click()
DoCmd.OpenForm "frmCalendar", , , , , acDialog, Me.name & ";From"
End Sub
The sub form name is Events Sub Form.
The main form name is Machinery
The date field the calendar is supposed to fill is From (nice & simple).
This has been working for me on numerous normal forms.
Access 2000
I'm trying to use a calendar to select dates on a sub form and not getting anywhere. The calendar will work ok if I open the sub form on it's own but when I open the main form, which obviously has the sub form on it, the calendar will not work. I have used the following in the On Click of the calendar;
Private Sub cmdFrom_Click()
DoCmd.OpenForm "frmCalendar", , , , , acDialog, Me.name & ";From"
End Sub
The sub form name is Events Sub Form.
The main form name is Machinery
The date field the calendar is supposed to fill is From (nice & simple).
This has been working for me on numerous normal forms.
Access 2000
Last edited: