I use the MS Date/Time Picker control for allowing users to select date ranges. I am trying to change the default date that is displayed when the control is initiated using the following commands in the init event of the control:
this.year=year(date())
this.month=month(date())
this.day=day(date())
The first and last commands work fine, but when it hits the
month part, it throws and ole exception error 0 message. I've tried using the following macro substitiion to no avail:
local lcMonthField
lcMonthField="this.month"
&lcMonthField=month(date())
It throws the same exception.
Thanks for any input
Kirk Kelly