A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

COMBO BOX DILEMNA



 
 
Thread Tools Display Modes
  #1  
Old May 24th, 2006, 04:52 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 06:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.