Hi
I've been trying to figure this out for some time but have not managed it. I am using Access '97.
I have a subform within a form with a combo box built to find specific sets of records. The subform is continuous. I have been trying, with no luck to add the option of showing all records on the subform. I can add the <All> value to the combo box list and thought the following would work but it doesn't.
If Me![Combo61] = "<All>" Then
Me.Requery
Me.RecordsetClone.FindFirst "[Access ID Name] like '*' "
Me.Bookmark = Me.RecordsetClone.Bookmark
Else
Me.Requery
Me.RecordsetClone.FindFirst "[Access ID Name] = '" & Me![Combo61] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End If
I've tried both the union query method and the module listed on the Microsoft website but could not get either to work.
I've been trying to figure this out for some time but have not managed it. I am using Access '97.
I have a subform within a form with a combo box built to find specific sets of records. The subform is continuous. I have been trying, with no luck to add the option of showing all records on the subform. I can add the <All> value to the combo box list and thought the following would work but it doesn't.
If Me![Combo61] = "<All>" Then
Me.Requery
Me.RecordsetClone.FindFirst "[Access ID Name] like '*' "
Me.Bookmark = Me.RecordsetClone.Bookmark
Else
Me.Requery
Me.RecordsetClone.FindFirst "[Access ID Name] = '" & Me![Combo61] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
End If
I've tried both the union query method and the module listed on the Microsoft website but could not get either to work.