Link to home
Start Free TrialLog in
Avatar of hkgal
hkgal

asked on

How to export foxpro(.dbf) file to excel while records > 65535??

I'm a newbie in Foxpro. I'm more okay with MS Access and Excel so I'd love to process data with them instead of foxpro...

Now I've got a Foxpro database with records totals 100,000. I want to export it to Excel for my further handling, however, as Excel's 65535 records limit, some records are missing...

Are there any solutions kinfly help?
Avatar of Makrini
Makrini
Flag of Australia image

Primary solution is to use Excel 2007 which allows for much more records...

Failing that - export as a csv - but don't open with Excel - import directly into access.  
Avatar of Cyril Joudieh
Export to CSV or TXT file delimited or fixed width. There is no limit in that.

COPY TO myfile.csv TYPE CSV
COPY TO myfile.txt TYPE DELIMITED
COPY TO myfile.txt TYPE SDF
Avatar of hkgal
hkgal

ASKER

I am using Excel 2003 version...

which means I've got to type this command:
COPY TO myfile.csv TYPE CSV

and import the myfile.csv into MS Access?

what if I use: Browse For command to select certain records first and then COPY TO xls?
is it also okay?
If you are import to access why don't you import directly from a DBF?

Clicl Import from the Access Menu.
If you want to copy only certain records, don't browse for ..., copy for ..., browse for will only filter the browse, not the copy, you got to simply use the same for clause with copy to to export only the wanted records.

Bye, Olaf.
Avatar of hkgal

ASKER

I tried in Access but there's no dbf file type to select from for importing...so just wondering import it to Excel first. And then go from Excel to Access for further proceeding...

I am quite confused with "use the same for clause with copy to to export only the wanted records.
"?? ya, u got my concern. I can now select some wanted records via BROWSE FOR command. But I don't know how to export the wanted records out to Excel...

pls kindly advise...thanks!
ASKER CERTIFIED SOLUTION
Avatar of Olaf Doschke
Olaf Doschke
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
export
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Any updates on this?
Avatar of hkgal

ASKER

yes. just backed from workplace.
The solution works! Thanks very much!!!
Avatar of hkgal

ASKER

very helpful