G
Guest
I need to format a date as yyyymmdd in VBA. The code below works for the
full version of Access but generates an error for the runtime version:
Dim DateTemp
DateTemp = Format(Date, "yyyymmdd")
This error occurs even if I insert a MsgBox on the line before the above
code. That is, it occurs when I open the form before it gets to my MsgBox. Is
my runtime missing a reference that is needed to evaluate the Format method?
full version of Access but generates an error for the runtime version:
Dim DateTemp
DateTemp = Format(Date, "yyyymmdd")
This error occurs even if I insert a MsgBox on the line before the above
code. That is, it occurs when I open the form before it gets to my MsgBox. Is
my runtime missing a reference that is needed to evaluate the Format method?