Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help!!!
Message
From
04/01/2000 19:33:33
 
 
To
04/01/2000 19:29:58
Julius Sotomil
Icodes Computer Services
Philippines
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00312889
Message ID:
00312895
Views:
32
>Hello... Happy millenium to all.. I have a bit of a
>problem. The get statement is still on the 19th century.
>
>When you encode a date on an @..get statement say:
>
>m.MyDate = {" "} && Initialize
>set cent on
>
>@ 1,1 get m.MyDate picture[99/99/9999]
>read
>
>This procedure gives me a "01/03/1900" when I just type
>
>"01" for the month
>"03" for the day
>"00" for the year
>
>It is supposed to get the system century and then place it
>on the century part of the date.
>
>This should technically give me a "01/03/2000" after
>exiting the read but instead, it placed "19"...
>
>Please help... :(
>
>Julius

SET CENTURY TO 20 will do what you're looking for. But it is probably better to make room for 4 digit years and SET CENTURY ON. You can still enter 2 digits, but it will show 4.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform