VF 找不到“字段”表达式

yal_1224 2008-11-06 03:04:43
近来运行一个程序,不知什么原因,老是报找不到“字段”表工达式?
调试时停在thisform.refresh?
thisform.text4.enabled=.f.
thisform.text5.enabled=.f.
thisform.text6.enabled=.f.
thisform.text7.enabled=.f.
thisform.text8.enabled=.f.
thisform.text9.enabled=.f.
thisform.text1.enabled=.f.
thisform.text2.enabled=.f.
thisform.text3.enabled=.f.
thisform.text10.enabled=.f.
thisform.text11.enabled=.f.
thisform.text12.enabled=.f.
thisform.text13.enabled=.f.
thisform.text14.visible=.f.
thisform.combo1.visible=.f.
thisform.check1.Value=1
PUBLIC msfdm
SELECT sfdmk
msfdm=ALLTRIM(sfdmk.sfdm)
set dele on
sele nlqtemp
thisform.label12.caption=str(reccount(),5)
COUNT all for nlqtemp.ksfsm="22" to num1
COUNT all for nlqtemp.ksfsm="23" to num2
COUNT all for nlqtemp.ksfsm="25" to num3
COUNT all for nlqtemp.ksfsm="26" to num4
COUNT all for nlqtemp.ksfsm="21" to num5
COUNT all for LEFT(nlqtemp.ksbh,5)<>ALLTRIM(xxzdk.xxdm) to num6
COUNT all for nlqtemp.mzm<>"01" to num7
thisform.label39.caption=str(num6,5)
thisform.label37.caption=str(num5,5)
thisform.label31.caption=str(num1,5)
thisform.label32.caption=str(num2,5)
thisform.label33.caption=str(num3,5)
thisform.label35.caption=str(num4,5)
thisform.label41.caption=str(num7,5)
GO top
thisform.refresh
thisform.command1.setfocus
...全文
319 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
yal_1224 2009-03-20
  • 打赏
  • 举报
回复
已经解决了
jack_wang0823 2008-11-18
  • 打赏
  • 举报
回复
用调试器追踪一下看那句报错
shxmh 2008-11-18
  • 打赏
  • 举报
回复
如果错误报在COUNT语句,检查nlqtemp和xxzdk表中的字段吧,不多说了

如果是出在thisform.refresh,检查表单各个控件关联的数据源。
十豆三 2008-11-06
  • 打赏
  • 举报
回复
上传你的程序至:
http://www.access911.net/CSDN/

2,748

社区成员

发帖
与我相关
我的任务
社区描述
VFP,是Microsoft公司推出的数据库开发软件,用它来开发数据库,既简单又方便。
社区管理员
  • VFP社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧