Ernesto_Paez
MIS
Hi Guys,
i did a little form in vfp 9.0, to copy some records from a Fdos tables, so then i used the "cpzero utility" to make sure later, if i want to access that table from an Old Fdos application, i can read that table but no succesfully, as i am getting "NOT A DATABASE FILE"
So basically in my command button i have something like this
the file 120876.dbf is created in the folder specified with the records filtered by the "FOR" clause but when i am trying to open the file 120876.dbf from the Fdos, i get the error "NOT A DATABASE FILE"
i have understood that the "CPZERO" should pass the codepage parameter as it is the one needed for Fdos the codepage=437
can you guys guide me here or point to what is wrong ?
Thanks
i did a little form in vfp 9.0, to copy some records from a Fdos tables, so then i used the "cpzero utility" to make sure later, if i want to access that table from an Old Fdos application, i can read that table but no succesfully, as i am getting "NOT A DATABASE FILE"
So basically in my command button i have something like this
Code:
SET DEFAULT TO f:\mfg
USE eng_jobs IN 0 SHARED ALIAS eng_jobs
COPY TO "x:\closedb\closedj\120876.dbf" FOR job_no="120876"
DO CPZERO WITH "120876.DBF", 437
the file 120876.dbf is created in the folder specified with the records filtered by the "FOR" clause but when i am trying to open the file 120876.dbf from the Fdos, i get the error "NOT A DATABASE FILE"
i have understood that the "CPZERO" should pass the codepage parameter as it is the one needed for Fdos the codepage=437
can you guys guide me here or point to what is wrong ?
Thanks