Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox question about Date format
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01271198
Message ID:
01271200
Views:
14
Boban

Why dont you on the form.getfocus put the following thisform.text1.value={}
(or whatever text number you are using)

Alternatively you can specify a memory variable for this text box and store {} in the variable

Colin

>I have a TextBox control in Form.
>Format property of TextBox control is set to D (TextBox.Format = D) which is Date.
>
>When I type in some date into TextBox control and I check VARTYPE of that value it returns "C" (VARTYPE(TextBox.Value)="C").
>I expected to return "D" instead of "C".
>
>Why is that happening?
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform