>I want to replace data alos in text file or in excel file.. Which is best text or excel file.
>When dbf courpeted me be date can read form file.
>And it is possibel to replce in text file and record in first line and other in scond line ........
>thanks
Try this
CLOSE DATABASES ALL
SET SAFETY OFF
CREATE TABLE Test (firstfld I, SecondFld C(20))
INSERT INTO Test VALUES(10,[Ten])
INSERT INTO Test VALUES( 2,[Two])
INSERT INTO Test VALUES( 1,[One])
INSERT INTO Test VALUES( 9,[Nine])
lcxls = PUTFILE([],[example_xls],[xls])
IF NOT EMPTY(m.lcxls)
COPY TO (m.lcxls) XLS
ELSE
MESSAGEBOX([XLS - No path])
ENDIF
lctxt = PUTFILE([],[example_txt],[txt])
IF NOT EMPTY(m.lctxt)
COPY TO (m.lctxt) SDF
ELSE
MESSAGEBOX([TXT - No path])
ENDIF
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst