GLawes
03-16-2013, 01:41 PM
Hi,
I am new to this forum, and a novice VBA user. And would welcome help with this little problem.
I have two different forms that have a similar date requirement - I would like the current date entered into a field. This should be very simple, in oone form it works fine, in the other form it returns "Runtime Error 438" "object doesn't support this property or method".
The code is absolutely identical in both forms -
Dim dteToday As String
dteToday = Format(Date, "dd/mm/yyyy")
Me.tempDate = dteToday
Anyone have any idea's what I am doing wrong?
Thanks
I am new to this forum, and a novice VBA user. And would welcome help with this little problem.
I have two different forms that have a similar date requirement - I would like the current date entered into a field. This should be very simple, in oone form it works fine, in the other form it returns "Runtime Error 438" "object doesn't support this property or method".
The code is absolutely identical in both forms -
Dim dteToday As String
dteToday = Format(Date, "dd/mm/yyyy")
Me.tempDate = dteToday
Anyone have any idea's what I am doing wrong?
Thanks