vfp表单控件执行append from array a fields kc.名称,kc.规格....时老提示语法错误!

来源:百度知道 编辑:UC知道 时间:2024/05/12 07:59:42
在另一个控件中我曾执行append from array a fields rk.名称,rk.规格,rk.数量........时却没提示错误!!!

单词拼写错了。
1、删除字段c所有记录
如果是字符型:replace c with '' all
如果是数值型:replace c with 0 all

2、给字段a导入记录(可以导入dbf或文本文件)
append from 数据库文件名
不过这样只能从后面追加,你可以编一段小程序
比如:打开两个表,用scan/endScan/replace 一个一个替换

3、给字段a里面1-100的记录添加dbf文件到字段b里
replace b with a for recn()<=100

编写没有完