Can anyone help???
When I attempt to run a date form with the database in MDB format this works fine but when I try to run this in a MDE format file I get the the error:
The expression OnClick you entered as the event property setting produced the following error: That command isn't available in an MDE database.
*****Opening code
sub getADate
DoCmd.OpenForm "fmGDatePicker", acNormal, , , acFormEdit, acDialog, varItems
Forms!fmGTextStore!txt4 = Format(GV_dtRV, "Long Date"
end sub
*****below used to close the form
Private Sub btnCloseForm_Click()
GV_dtRV = Me.calDate.Value
DoCmd.Close acForm, "fmGDatePicker"
End Sub
Thanks
Martyn
When I attempt to run a date form with the database in MDB format this works fine but when I try to run this in a MDE format file I get the the error:
The expression OnClick you entered as the event property setting produced the following error: That command isn't available in an MDE database.
*****Opening code
sub getADate
DoCmd.OpenForm "fmGDatePicker", acNormal, , , acFormEdit, acDialog, varItems
Forms!fmGTextStore!txt4 = Format(GV_dtRV, "Long Date"
end sub
*****below used to close the form
Private Sub btnCloseForm_Click()
GV_dtRV = Me.calDate.Value
DoCmd.Close acForm, "fmGDatePicker"
End Sub
Thanks
Martyn