2774| 4
|
[Access本身] 怎么对比同一窗体中的数据,找出不同的数据来 |
10金钱
最佳答案Private Sub Command4_Click()
Dim rsS As Recordset
Dim rsO As Recordset
Dim isFind As Boolean
On Error Resume Next
Set rsS = Me.FBSUB.Form.RecordsetClone
Set rsO = Me.FBLSUB.Form.RecordsetClone
rsS.MoveFirst
Do Until rsS.EOF
isFind = False
rsO.MoveFirst
If Not IsNull(rsS("SN")) Then
rsO.FindFirst "SN ='" & rsS("SN") ...
| ||
| ||
| ||
|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )
GMT+8, 2024-11-17 23:38 , Processed in 0.088748 second(s), 30 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.