Pusher
BEOGRAD Put
- Local time
- Today, 20:55
- Joined
- May 25, 2011
- Messages
- 230
Hi all,
I found this sweet little search db example that I want to learn to integrate into my db. It’s a simple search and double click select back to the original form. That is the problem, i integrated the search but double click with selecting the record i can't solve. Here is the link to that db.
http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=11661&d=1132308964
Can some one explain to me this code and how can I integrate it into my db.
Thanks
I found this sweet little search db example that I want to learn to integrate into my db. It’s a simple search and double click select back to the original form. That is the problem, i integrated the search but double click with selecting the record i can't solve. Here is the link to that db.
http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=11661&d=1132308964
Can some one explain to me this code and how can I integrate it into my db.
Code:
Private Sub List2_DblClick(Cancel As Integer)
Dim rs As Object
DoCmd.OpenForm "frmDVDTitles"
Set rs = Forms!frmDVDTitles.Recordset.Clone
rs.FindFirst "[DVDID] = " & Str(Nz(Me!
[List2], 0))
If Not rs.EOF Then Forms!frmDVDTitles.Bookmark = rs.Bookmark
DoCmd.Close acForm, Me.Name
End Sub