Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Y2KFox command line?

Status
Not open for further replies.

north2060

Programmer
Apr 11, 2002
23
AU
Can someone tell me how to use Y2KFOX with Foxpro 2.6? I forgot the syntax of the command line.
Thanks.
 
HI, I'm not really sure what you are asking, but if you are asking how to change dates from 01/04/02 to 01/04/20002 then use SET CENTURY ON.
 
Not really. I need to run Y2KFOX program developed by third party to override 19 to 20 prefix upon the update of the date using Foxpro 2.6.

I know how to do in Visual Foxpro but Y2KFOX actually make compliant to year 2000.

Thanks
 
If you have a legitimate copy of Y2KFOX, shouldn't you have the documentation that came with it? And if you've used it before, don't you have sample setups at least on backups? Note: I'm not accusing you of anything, just curious.

Rick
 
I wrote a 1 line *.prg like this:

round(val(left(alltrim(str(year(date()))),2)),0)

works fine for me

Please let me know if helpfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top