Hi
SELECT 0
USE myTable
APPEND FROMmyText.txt SDF
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