表格控件重置数据源后,为什么表格不显示表记录内容?
请教各位大侠:Select 1
Use &wjm Exclusive
Thisform.grid1.RecordSource=''
Thisform.grid1.RecordSource='&wjm'
Thisform.grid1.RecordSourceType=1
Go jlh
Delete
到此:表格控件能显示打开表记录
Pack
use
Select 1
If !Used('&wjm')
Use &wjm
Endif
Thisform.grid1.RecordSource=''
Thisform.grid1.RecordSource='&wjm'
Thisform.grid1.RecordSourceType=1
Thisform.grid1.Visible=.T.
Thisform.grid1.Enabled= .T.
Thisform.grid1.Refresh
到此:表格控件不显示打开表记录