Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2000 Server
Hi Cetin
>>>Hi Mike,
>>>
>>>> I'd change that to lose the ctod(). In the init of the form.
>>>
>>>> THISFORM.txtStartDate.Value = {//}
>>>> THISFORM.txtEndDate.Value = {//}
>>>
>>>In my form, I set the textbox.Format = 'D'. Can I put the above in textbox.Value properties instead of [None]? Please advice.
>>
>>That only tells the textbox to format the CHARACTER output to look like a date. It would be better to do this in the init of each: THIS.VALUE = {//}
>
>Mike,
>Setting value to {} in PEM makes the datatype D. Not just character display. If bound to a controlsource (didn't read whole thread) then whatever the datatype of controlsource is it would be the datatype.
>Cetin
I know that. But he said he set *format* to "D". That does not make the textbox have a date datatype. I usually prefer to do things in code, rather then settings properties in the property sheet.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement