接着 newnewworm(新新虫)的说 select * from newtable where mod(recno(),3)=2 ; into cursor tablescore0 &&取出第二行、如果文本规则 sele tablescore0 copy to temp1.txt sdf 做新表: creat table tablescore (; a c(6),b c(6),c c(6),d c(6)) use tablescore in select(1) sele tablescore append from temp1 sdf 这样大约可以将第二行分成四个字符字段。
文本文件中除了 题目内容 还有 题目的ABCD四选项 及其答案
我如何分割?例如:文本内容为
1.中国队和巴西队的比分.(这部分是一个备注字段)
A)1:0 B)2:0 C)3:0 D)4:0 (这部分是四个字符字段)
d (这部分是一个字符字段) 现在要导入到一个dbf中
注意你文本文件格式
select * from newtable where mod(recno(),3)=2 ;
into cursor tablescore0 &&取出第二行、如果文本规则
sele tablescore0
copy to temp1.txt sdf
做新表:
creat table tablescore (;
a c(6),b c(6),c c(6),d c(6))
use tablescore in select(1)
sele tablescore
append from temp1 sdf
这样大约可以将第二行分成四个字符字段。