Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change the date, year and month
Message
From
15/01/2002 12:15:36
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00604905
Message ID:
00604923
Views:
25
>Try corrections below in bold
.
>>
>>
thisform.oleControl1.year.value = year(<b>DATE()</b>)
thisform.oleControl1.month.value = month(<b>DATE()</b>)
thisform.oleControl1.day.value = <b>Day</b>(date())
>>

Hi Sergey - thank you for your response. I tried it out and ran the form. Then from the drop list on the oleControl, select January as the month, 2005 as the year and clicked on a date in that month/year. Then I clicked the This Month button and got the following error messages:

Member YEAR does not evaluate to an object
Member MONTH does not evaluate to an object
Member DAY does not evaluate to an object

- Ravi
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform