Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Forms

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-19-2009, 05:05 AM
jgelpi jgelpi is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: May 2009
Posts: 19
jgelpi is on a distinguished road
Question Filter Form records with Combo Box????

I am trying to build a combo box that, when an item is selected, it filters out only the matching records for view in the form. Every time I try to use
Code:
Forms![FrmDirCaseUpdate]![cmboSelect]
the form loads entirely blank. If I use the above code in a separate Query and load the form, the Query filters out the necessary fields properly. Here is the full SQL statement:
Code:
SELECT Tbl50K.CurrentBalance, Tbl50K.BegBalance, Tbl50K.Org, [tbl Organization ID].Office, Tbl50K.EntityId, Tbl50K.TP, Tbl50K.Emp, TblEmployees.LastName, TblEmployees.NickName, Tbl50K.DtAsgnd, Tbl50K.DateClosed FROM [tbl Organization ID] INNER JOIN (TblEmployees INNER JOIN Tbl50K ON TblEmployees.RACF_No = Tbl50K.Emp) ON [tbl Organization ID].Org_ID = Tbl50K.Org GROUP BY Tbl50K.CurrentBalance, Tbl50K.BegBalance, Tbl50K.Org, [tbl Organization ID].Office, Tbl50K.EntityId, Tbl50K.TP, Tbl50K.Emp, TblEmployees.LastName, TblEmployees.NickName, Tbl50K.DtAsgnd, Tbl50K.DateClosed HAVING (((Tbl50K.DateClosed) Is Null)) ORDER BY Tbl50K.BegBalance DESC;
(This is the working one, less the previous referenced filter portion). I need the combo box to filter out only matching Tbl50K.Org records. Thanks in advance for the help!
Reply With Quote
Reply

Bookmarks

Tags
combo, combo box, filter, form, form filter

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuous Subforms Filter Dependant Combo BigBear Forms 0 04-19-2009 06:13 AM
Applying a filter to a combo box bugchaser Programming 1 02-20-2009 11:37 AM
Recalling Records from a Combo search Dreamcatcher Forms 0 08-18-2008 05:33 AM
Filtering subform combo from main form combo MUKUDU99 Forms 0 08-17-2008 10:19 AM
Filter data on a form from another control on the same form WonkeyDonkey Forms 0 11-12-2005 01:09 AM


All times are GMT -8. The time now is 08:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.