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  dBforums > PC based Database Applications > Microsoft Access > Filter subForm comboBox based on main form combobox selection - EXAMPLE ATTACHED

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-27-10, 19:45
usmcgrunt usmcgrunt is offline
Registered User
 
Join Date: Aug 2010
Posts: 23
SOLVED - Filter subForm comboBox based on main form combobox selection

Here is my problem. I am trying to filter a combobox on a subform based on a combobox on my main form. I am successfully able to do this with two combo boxes on the same mainform but not with one on the mainform and one on the subform. I have attached a sample database with the tables, queries, and forms associated with this issue.

I would greatly appreciate some help on this issue. I have read countless topics on this site relating to this topic and I have tried all the responses but I just keeping getting lost in the middle of the code.

Thank you in advance to all takers.

Sean
Attached Files
File Type: zip subFormFilter.zip (39.7 KB, 36 views)

Last edited by usmcgrunt; 08-28-10 at 16:45. Reason: Re-upload zip file
Reply With Quote
  #2 (permalink)  
Old 08-27-10, 19:56
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
It looks like your zip file is empty.
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
  #3 (permalink)  
Old 08-27-10, 20:00
usmcgrunt usmcgrunt is offline
Registered User
 
Join Date: Aug 2010
Posts: 23
Quote:
Originally Posted by RuralGuy View Post
It looks like your zip file is empty.
I just downloaded it and unzipped it and it opened fine. Does it matter that I am using WinZip 14 Pro?
Reply With Quote
  #4 (permalink)  
Old 08-27-10, 20:58
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
Hmm...I'm just using the unzipper that comes with Win7 and it thinks the file is empty.
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
  #5 (permalink)  
Old 08-27-10, 21:08
usmcgrunt usmcgrunt is offline
Registered User
 
Join Date: Aug 2010
Posts: 23
Quote:
Originally Posted by RuralGuy View Post
Hmm...I'm just using the unzipper that comes with Win7 and it thinks the file is empty.

Zipped again and re-uploaded. Hope it works this time.

Sean
Reply With Quote
  #6 (permalink)  
Old 08-27-10, 21:14
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
Still thinks it is an invalid zip file, sorry. Guess I can't assist here.
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
  #7 (permalink)  
Old 08-27-10, 21:15
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
What OS are you using?
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
  #8 (permalink)  
Old 08-27-10, 21:17
usmcgrunt usmcgrunt is offline
Registered User
 
Join Date: Aug 2010
Posts: 23
Windows 7 Ultimate
Reply With Quote
  #9 (permalink)  
Old 08-27-10, 21:20
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
Windows since XP has known how to zip files natively so no external program was needed. I'm using Windows 7 Professional.
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
  #10 (permalink)  
Old 08-27-10, 21:23
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
See if WinZip replaced the native compression. Right click the file and "Send to" Compressed file and see if WinZip comes up.
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
  #11 (permalink)  
Old 08-27-10, 21:24
usmcgrunt usmcgrunt is offline
Registered User
 
Join Date: Aug 2010
Posts: 23
Well, I just uploaded it again without any compression. Lets see how this works.
Reply With Quote
  #12 (permalink)  
Old 08-27-10, 21:30
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
Same results. How big is the file? If it is < 10MB then take a copy of the db and rename the extent to .zip and upload it. I'm pretty sure the uploader does not actually check the file for format. Are you using an accdb?
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
  #13 (permalink)  
Old 08-27-10, 21:32
usmcgrunt usmcgrunt is offline
Registered User
 
Join Date: Aug 2010
Posts: 23
ok, I right-clicked and then selected 'Send to' and selected compressed (zipped) folder. It is the new version at the top. The file size unzipped is only 576kb.
Reply With Quote
  #14 (permalink)  
Old 08-27-10, 21:35
usmcgrunt usmcgrunt is offline
Registered User
 
Join Date: Aug 2010
Posts: 23
unreal. ok, here is a version with the file extension renamed to .zip
Attached Files
File Type: zip subFormFilter (2).zip (576.0 KB, 37 views)
Reply With Quote
  #15 (permalink)  
Old 08-27-10, 21:37
RuralGuy RuralGuy is offline
Registered User
 
Join Date: Mar 2007
Posts: 274
I wonder if this site is truly replacing the file each time you overwrite it. Try attaching your latest zip to a new post.
__________________
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
Please reply to this forum so all may learn.
Reply With Quote
Reply

Tags
combo box, filter, subform

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On