以下是引用wuaza在2005-11-23 8:53:00的发言:
参考这样的代码。
Private Sub Combo43_AfterUpdate()
' 查找与该控件匹配的记录。
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Reference] = '" & Me![Combo43] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |