If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
COMBO BOX DILEMNA
I have a bound form that opens and displays all records. There is a subform
on the form as well. I have an unbound search box in the detail section of form. I type a number in the field , press [Enter] and the cursor jumps to the subform and displays the searched records. Duplicate numbers are allowed. The underlying table is indexed on two fields so as not to allow duplicate records. I have also placed a few fields [Competitive Line] & [Competitor] in the detail section so I can view my records in Datasheet View as well. I placed an unbound Combo Box [Comp] in the detail section wanting to filter specific product lines. It looks up it text values in a table with one bound field. I placed an expression on the AfterUpdate Event: Me.Filter = "[Competitive Line] = """ & [Comp] & """" Me.FilterOn = True After I filter the line from the combo box selection, I am able to type in a number from the filtered Competitive Line and all works well. But, when I remove the filter and clear the combo box to null, I am NO longer able to type in any number in the Search box and find that record. I get an error message stating You can not go to the specified record. If I go to Datasheet View after the filter is removed, All records are showing and I can filter on a specific number, but not from my Search field on Form View as I could before I added the combo box. Any ideas would be greatly appreciated. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default Value for Combo Box | Steve | Running & Setting Up Queries | 1 | February 23rd, 2006 10:00 PM |
Hidden Power of the Combo Box | JethroUK© | New Users | 2 | October 24th, 2005 09:18 AM |
Hidden Power of the Combo Box | JethroUK© | Using Forms | 2 | October 24th, 2005 09:18 AM |
Displaying Additional Columns in Access Form | Roxanne | General Discussion | 3 | September 20th, 2005 06:50 PM |
Combo box value determined by the value of another combo box | LouD | General Discussion | 8 | July 9th, 2004 08:45 PM |