Julius,
Please see Christof Lange's code in the files section.
Upper left pane, file cabinet icon, "Coding, Syntax, and Commands" icon, "Y2K solution for FoxPro 2.6" download.
This code will allow you to put a rollover feature in your text boxes and browse windows. You can choose the rollover year. It handles {02/29/00} properly.
I have used this code successfully in 2 apps for 6 months.
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement