newtofoxpro
Programmer
I am fpw26 user and I have experienced "Not a Database file" error many times. For some reason I am going to migrate fpw application to vfp8. Is anybody experience this error in vfp8 ?
Example.. Planning in fpw26...
If I want to use large customer database. Records 500,000 approx. I would prefer to split those records in multiple DBF. Like Countrywise. Because it becomes easy to optimize query for me.
1) I would create COUNTRY.DBF ( Cntry_ID, Cntry_Name )
2) I would create "CUST"+Cntry_ID+".DBF"
this way I can create my tables in fpw26. In this tables If something goes wrong with any table 'Not a Database file' I can repair that table with fpw code.
But while learning VFP8 I found, I can create database and its tables. If I am right, on Hard-disk i can find single database file.
With VFP8 I can make CUSTDATA as database and COUNTRY.DBF & "CUST"+Cntry_ID+".DBF" tables as part of database. Am I right ?
Now, If something goes wrong with a table, Is that affect to all tables or database ? Or still I can use database and its other tables.
Example.. Planning in fpw26...
If I want to use large customer database. Records 500,000 approx. I would prefer to split those records in multiple DBF. Like Countrywise. Because it becomes easy to optimize query for me.
1) I would create COUNTRY.DBF ( Cntry_ID, Cntry_Name )
2) I would create "CUST"+Cntry_ID+".DBF"
this way I can create my tables in fpw26. In this tables If something goes wrong with any table 'Not a Database file' I can repair that table with fpw code.
But while learning VFP8 I found, I can create database and its tables. If I am right, on Hard-disk i can find single database file.
With VFP8 I can make CUSTDATA as database and COUNTRY.DBF & "CUST"+Cntry_ID+".DBF" tables as part of database. Am I right ?
Now, If something goes wrong with a table, Is that affect to all tables or database ? Or still I can use database and its other tables.