Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Century off
Message
From
22/03/2009 15:52:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01390409
Message ID:
01390446
Views:
52
Why don't you use forms for data entry?

>>>>>Yes, it should if the century is OFF.
>>>>
>>>>But it ain't!!!???
>>>
>>>I tried a second ago and it worked for me. See my answer in other message.
>>
>>Naomi:
>>
>>It's working correctly now for me as well. My eyes must have been playing truicks with me.
>>
>>HOWEVER, look at the following:
>>
>>
>>CLEAR
>>
>>SET STRICTDATE TO 0
>>SET CENTURY off
>>
>>w_dt = {1/1/2009}
>>
>>@ 1,2 say SET('cent')
>>@ 1,50 say w_dt
>>@ 2,50 get w_dt
>>read
>>
>>The GET is not working properly. It only has enough space for a two-digit year, yet display a four digit year. How can I get the GET to display correctly?
>
>Is there any way to use more modern commands for this? I'm afraid I don't remember these commands too deep :) It may be achieved with some format clauses in GET, I assume.
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform