Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Calendar Control
Message
De
09/09/1998 13:27:36
 
 
À
09/09/1998 10:05:40
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00134481
Message ID:
00134642
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform