Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Calendar Control
Message
From
09/09/1998 13:27:36
 
 
To
09/09/1998 10:05:40
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00134481
Message ID:
00134642
Views:
12
Try "this.Object.value". If not, the constructing the date that Jim gave you will work.

>That's the wierd thing about the calendar control. The documentation says it has a value property, but when I refer to it, the program doesn't find it.
>
>Any ideas?
>
>Jim
>
>>>Is there a way to return the selected date from a calendar control?
>>>
>>>I tried the following, but the variable is empty after the statement.
>>>
>>>mydate = {This.month + This.Day + This.year}
>>>
>>>Shouldn't this work?
>>>
>>>Please help,
>>>
>>>Thanks
>>>
>>>Jim
>>
>>Jim,
>>
>>The syntax is wrong, make it either;
>>
>>
>>myDate = EVALUATE( "{^" + STR(This.Year,4) + "/" + STR(Tis.Month,2) + ;
>>         "/" + STR(This.Day,2) + "}" )
>>
>>OR
>>
>>myDate = This.Value
>>
>>
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform