Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to give property empty date-time value?
Message
De
07/09/2005 17:26:51
 
 
À
07/09/2005 04:55:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01047270
Message ID:
01047520
Vues:
7
Peter:
>>In code I can write ltSample = datetime({//:} and ltSample will have an empty value. But if I put that string {//:} as an initial value for a property, VFP immediately converts it to {} and the actual value seems to be an empty date.

Fabio:
>this is sufficient: for define a empty datetime:
{ :}
When I wrote this: ltSample = datetime({//:}

That was just late night brain fog. I meant to say: ltSample = {//:}

However your way produces a date value (not datetime). I believe this is the minimum string to get a datetime value:
ltSample = {/:}
If seems that if I enter this as a property value, it MUST have an equal mark in front.

Thanks.

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform