An SDF file is an ASCII text file in which records have a fixed length and end with a carriage return and line feed. Fields are not delimited. The file name extension is assumed to be .txt for SDF files.
Effective conversion of date data from SDF files to Visual FoxPro tables requires data to be stored in YYYYMMDD format.
If date information is stored in ambiguous formats, you should map the date column to a character column of appropriate width so you can inspect the value then apply the correct conversion routine to create correctly formatted date data.
If you want the entire text file in a variable...
myText = FILETOSTR("myFile.txt"
Then sav it where you want with a simple REPLACE command..
Replace myField WITH myText
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
Don,
If he is really asking about using a COMMAND Line solution, it wouldn't be that hard to create a simple program to parse out the information and then build and run the appropriate statement.
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.