Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input Date in the TextBox
Message
From
28/06/2001 05:47:18
 
 
To
28/06/2001 03:45:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00524522
Message ID:
00524569
Views:
19
Thanks a lot for your prompt reply. Unfortunately, I am still confused.
Let me explain the problem in details.

I have a textbox in which I want the user to input date. text1.format is "E". By default century is ON. I am not chenging it anywhere. I have not changed form.datasession also. It is also set to default only. text1.controlsource is m_Fr_dt. in form.init I have following statment - STORE {} TO m_Fr_Dt.

The form is open in modify mode. I am trying to test the form. When I run the form for the first time (by clicking on "!" icon) and enter any date in this textbox, the year does not change to 4 digit year. At the same time, if I issue a command - WAIT DTOC(m_Fr_Dt) WINDOW anywhere else in the form, it generates the error - Function argument value, tpe, or count is invalid.

Surprisingly, when I run the form second time, everything works just fine. And I don't know how and why ???
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform