Local lcLine Create Cursor curTemp (Field1 C(254), Field2 C(254), ....) Append From YourTextFile SDF Go Top Scan lcLine = curTemp.Field1 + curTemp.Field2 + ... * Now you can handle your text line with GetWordNum(), for example EndScan UseYou can also try using FOpen() and FGets().
Local lcTextFile, lnHandle, lcLine lcTextFile = "C:\temp\test.txt" lnHandle = FOpen(lcTextFile) If lnHandle==-1 * Error Else FSeek(lnHandle,0,0) Do While Not FEof(lnHandle) lcLine = FGets(lnHandle,8192) * Now you can handle your line using lcLine variable EndDo Endif FClose(lnHandle)