I have a text file which I have to convert to .dbf file , I don't see an option to use this file via Fox 2.6 or maybe it is a way to use it , maybe possible to convert it to .dbf some how.
"I have a text file which I have to convert to .dbf file"
In addition to Rick's suggestions, let us know if this is a one-time conversion or if this conversion needs to be done on a regular basis by your application.
Good Luck,
JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
those r recoreds which I have to import their content to a .dbf file , I chec ked out IMPORT and APPEND FROM commands and none of them have the option of a .txt file.
Create a table with a field large enough for the incoming lines then:
myTxtFile="TEXT.TXT" && your file name here
APPEND FROM (myTxtFile) TYPE SDF
Probably this is all you need. If you need each line to import multiple fields for each line, then it will get a little bit more complicated. But go ahead and try this.
As always, do your experimenting in a separate test area with copied data. You don't want to make a mistake and loose your only file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.