参考:http://www.foxtable.com/webhelp/topics/1533.htm
如果黄色部分是除了"编号"、"销售退货单明细ID"后剩余的列,可以这样
for each c as col in t.cols
if c.name <> "编号" andalso c.name <> "销售退货单明细ID" then
if jt(c.name) isnot nothing then
nr(c.name)=CStr(jt(c.name))
end if
end if
next
如果只是部分列,参考帮助的第2段代码使用