General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only