Foxpro:如何将光标导出到txt文件

mfo*_*rer 0 foxpro export cursor visual-foxpro

我目前在将光标中的数据导出到txt文件时遇到问题.不幸的是,txt文件必须以某种方式查看.我有我的光标,我刚刚将其命名为"导出",并且必须将其推入txt文件,使其看起来像这样.星号也必须在那里.

*Col1中,col2的

COL1,col2的,COL3,COL4,COL5,COL6,COL7,Col8,Col9,Col10.

并重复约647次.我一直在寻找一种很好的方法,但我觉得我的最终结果太具体了,我希望不是这样.任何帮助都会非常感激.

Ala*_*n B 5

set textmerge on noshow
set textmerge to myfile.txt
select export
scan
    \\*<<col1>>,<<col2>><<chr(13)>>
    \\<<Col1>>,<<Col2>>,<<Col3>>,<<Col4>>,<<Col5>>,<<Col6>><<chr(13)>>
endscan
set textmerge off
set textmerge to
Run Code Online (Sandbox Code Playgroud)

在col6处停止的行显然会以相同的方式继续到col10,我将其截断为适合此处.