B
Bon
Hello all
I have a fMiniCalendar module. If I click the calendar icon, it will
pop-up Mini Calendar.
When the fMiniCalendar is triggered, it will returns the date into a
textbox on the form. This works fine when the form is a parent
(frmMain). But, i got an error "The form/subform cannot be found" if I
put the calendar icon in the tabbed subform (frm_screenpart).
The command button code i tried to refer a control in tabbed subform:
Call fMiniCalendar(, , "frmMain!frm_screenpart", "DOB")
Where frmMain is the parent form, frm_screenpart is the subform in
frmMain and DOB is the text field on the tabbed subform frm_screenpart
that the returned date value goes.
Under debug mode, the error stops at this line:
Forms(FormName)(FieldName) = CombinedDate
How can i make it work? Please give me some advices.
Thanks
Bon
I have a fMiniCalendar module. If I click the calendar icon, it will
pop-up Mini Calendar.
When the fMiniCalendar is triggered, it will returns the date into a
textbox on the form. This works fine when the form is a parent
(frmMain). But, i got an error "The form/subform cannot be found" if I
put the calendar icon in the tabbed subform (frm_screenpart).
The command button code i tried to refer a control in tabbed subform:
Call fMiniCalendar(, , "frmMain!frm_screenpart", "DOB")
Where frmMain is the parent form, frm_screenpart is the subform in
frmMain and DOB is the text field on the tabbed subform frm_screenpart
that the returned date value goes.
Under debug mode, the error stops at this line:
Forms(FormName)(FieldName) = CombinedDate
How can i make it work? Please give me some advices.
Thanks
Bon