Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql syntax?
Message
From
15/12/2006 13:16:57
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
15/12/2006 13:13:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01177802
Message ID:
01178073
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform