Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2016
    Posts
    4

    filtered subform unshown records when choose another brand

    i have a subform for products which filtered to brands, categories, products...However when I choose a brand and fill its category and product. it is okbut when I try to add another record with different brand and fill its category and product, the other data in the brand record got hiddenPLEAAAAAASE HELP

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    How, exactly, are you filtering? Can you provide details?

  3. #3
    Join Date
    Sep 2016
    Posts
    4
    thx for reply
    I made two queries one for brands and categories and one for categories and Models.
    then in the subform I wrote this codes

    Private Sub CboBrand_AfterUpdate()
    Me.CboCategory.Requery
    Me.CboModel.Requery
    End Sub
    Private Sub CboCategory_AfterUpdate()
    Me.CboBrand.Requery
    Me.CboModel.Requery
    End Sub
    Private Sub CboModel_AfterUpdate()
    Me.CboBrand.Requery
    Me.CboCategory.Requery
    End Sub

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    So the queries are for your forms? Perhaps the combos should have queries that depend on something similar. For instance, what if you make one of the combo's dependent on the other and the form's dependent on the combos?

  5. #5
    Join Date
    Sep 2016
    Posts
    4
    Sorry... I am somehow new to access..
    could you please how I can make the combo's dependent on the other and the form's dependent on the combos?

  6. #6
    Join Date
    Sep 2016
    Posts
    4
    Knowing that when I select the same brand in two different records there data are shown and the other brands records there data got invisible

  7. #7
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    You will need to understand the various properties of the combobox control. I would suggerst setting some time aside and looking at some tutorials. What it seems you want is "Cascading Dependent Combobox"

    I have created some tutorials here. You can download them for free. But, it takes time and patience. If you are looking for instant gratification, you may get some via YouTube.
    https://www.accessforums.net/showthre...671#post277671

    Paste the username and pass into an open text file for ease of logging onto the landing page. From there, you can download the series.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Brand New. Like Brand Stinking New
    By Dinger045 in forum Access
    Replies: 1
    Last Post: 04-19-2016, 09:43 AM
  2. Filtered subform to table
    By MTSPEER in forum Programming
    Replies: 2
    Last Post: 02-09-2016, 02:17 PM
  3. Replies: 8
    Last Post: 06-08-2012, 02:27 PM
  4. DCount on filtered subform
    By TheShabz in forum Forms
    Replies: 2
    Last Post: 07-13-2011, 02:22 PM
  5. How do I choose multiple records for a report
    By admaldo in forum Reports
    Replies: 2
    Last Post: 03-03-2006, 06:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums