OK. In response to the nelson, I have a combo box that works, and populates the form nicely. That is not the problem. The problem is that there are over 35,000 records in the entire DB, and it takes too long to load the combo box. I want to limit the results of the combobox to the several records which fulfill the [ClaimNumber] criteria, which is defined on the previous form. I have tried setting the combo box [ClaimNumber] criteria to [Forms]




by: thenelsonPosted on 2009-11-03 at 08:28:49ID: 25730645
Two easy ways to filter the records to show only the record selected:
ate() 'Use the name of your list/combo box
mboBoxName ] 'Use the name of your list/combo box and form name
om/default .aspx?scid =kb;en- us; Q209537 -03.html rary.com/d ownload3.a sp? SampleN ame=ComboC hoosesReco rd.mdb
1) With the bound column of the list/combo box is the record ID field.
Private Sub List/ComboBoxName_AfterUpd
Me.Filter = "txtRecordID = " & List/ComboBoxName 'Use the name of your list/combo box and text box
Me.FilterOn = True
End Sub
2) Again, the bound column of the list/combo box is the record ID field.
In the query that is the record source for the form, create a criteria like this:
[Forms].[YourFormName].[Co
Additional information:
http://support.microsoft.c
http://allenbrowne.com/ser
http://www.rogersaccesslib