R
rocco
Hello,
I have to assign time values to few variables.
How should I do?
Let's say I have this variable:
dim myTime as Date
would it be:
(a) mytime=#08:30 Am#
or
(b) mytime=(8/24) + (30/1440)
Since the values will be retrieved from buttons the user will click, I could
I assign values through rule (a):
Should I write:
mytime="#" & buttonclicked & "#"
wouldn't this make a string and then raise an error when assigned to a
variable declared as Date?
Boh...
Obviously I will experiment by myself, but I really prefer some advice.
Thanks all,
Rocco
I have to assign time values to few variables.
How should I do?
Let's say I have this variable:
dim myTime as Date
would it be:
(a) mytime=#08:30 Am#
or
(b) mytime=(8/24) + (30/1440)
Since the values will be retrieved from buttons the user will click, I could
I assign values through rule (a):
Should I write:
mytime="#" & buttonclicked & "#"
wouldn't this make a string and then raise an error when assigned to a
variable declared as Date?
Boh...
Obviously I will experiment by myself, but I really prefer some advice.
Thanks all,
Rocco