单击表体Grid2刷新子Grid3

目前在V11.0上写了个m_BillInterface.DeleteEntryData(3)
然后单击grid2时会有不停闪动,好歹能闪到最后定格在Cell里面。
现在升级了V14.2同样的代码,单击Grid2的某个Cell后,执行了m_BillInterface.DeleteEntryData(3)
焦点不知道去了哪里,不在格子里。
请问有其他的写法嘛?给个例子参考下。
金蝶小神能现身嘛?
Dim entryId As Integer
Dim ok As Boolean
Dim iCount As Integer, i As Long
Dim sSql As String
Dim rs As New ADODB.Recordset
sSql = "select "
If NewRow > 0 Then 'IF1
fid = m_BillInterface.Data("page2")(NewRow)(m_BillInterface.TableInfo("map")("FEntryID2"))("FFLD")
If fid = "" Then Exit Sub
sSql = sSql & " where A.FEntryIDSource=" & fid & " order by A.FIndex ASC "
Set rs = m_BillInterface.K3Lib.GetData(sSql)
If Not rs Is Nothing Then 'IF2
ok = m_BillInterface.DeleteEntryData(3)
单击表体Grid2刷新子Grid3
声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。



