Hi,
I have a rather complex from based on a query. The form is populated using an unbound combo box. The query has 50 records and the combo box will successfully find the first of 4 matching records. All this is working great with one problem. The forms Navigation Buttons are showing record 12 of 50. I need to get it to only show the 4 matching records, not all. I using the “After Update” event to filter the form.
Is there a better way to filter the form?
I would also like to add two navigation buttons inside the form to allow the user to move back a forth within the filtered records. Although I think I can get the Nav buttons working if I can get the form filter to work.
Any help???
I have a rather complex from based on a query. The form is populated using an unbound combo box. The query has 50 records and the combo box will successfully find the first of 4 matching records. All this is working great with one problem. The forms Navigation Buttons are showing record 12 of 50. I need to get it to only show the 4 matching records, not all. I using the “After Update” event to filter the form.
Code:
[FONT=Arial][SIZE=3]Private Sub cboTitle_AfterUpdate()[/SIZE][/FONT]
[SIZE=3][FONT=Arial] Dim rs As Object[/FONT][/SIZE]
[FONT=Arial][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Arial] Set rs = Me.Recordset.Clone[/FONT][/SIZE]
[SIZE=3][FONT=Arial] rs.FindFirst "[Title] = '" & Me![cboTitle] & "'"[/FONT][/SIZE]
[SIZE=3][FONT=Arial] If Not rs.EOF Then Me.Bookmark = rs.Bookmark[/FONT][/SIZE]
[FONT=Arial][SIZE=3] [/SIZE][/FONT]
[FONT=Arial][SIZE=3]End Sub[/SIZE][/FONT]
Is there a better way to filter the form?
I would also like to add two navigation buttons inside the form to allow the user to move back a forth within the filtered records. Although I think I can get the Nav buttons working if I can get the form filter to work.

Any help???