明明数据是有的,但表格上就是显示不出来
明明手机那列数据也是有的,但是就是不显示出来表格显示
表内容
con1=sqlstringconnect('driver='+lcodbcdriver+';server='+lcodbcserver+';database='+lcodbcdatabase+';uid='+lcuid+';pwd='+lcpwd) &&建立测试连接句柄
IF con1>0
thisform.pageframe1.page5.grid1.recordsource=""
SQLEXEC(con1,"select 项目值,备注 from bx_wxfl where 项目='施工队'","sgd")
thisform.pageframe1.page5.grid1.recordsource="sgd"
ELSE
messagebox("连接失败,请检查网络及设置!",0,"警告")
ENDIF
thisform.pageframe1.page5.grid1.ColumnCount=2
with thisform.pageframe1.page5.grid1
.fontsize=12
.Column1.header1.caption='施工队长'
.Column1.width=100
.Column2.header1.caption='手机'
.Column2.width=100
ENDWITH