Results 1 to 5 of 5
  1. #1
    tmd63 is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Oct 2016
    Location
    UK
    Posts
    16

    Angry Filtering selections on mutiple levels


    I am trying to make a simple database which has a number of levels but a single input form.
    There are 4 tables; Class, sub-class, category and data
    There are a number of sub-class entries for a single class entry, a number of categories for each sub-class and a number of data entries for each category.
    I have a form that uses combo boxes to show the full range of data for each data entry (class, sub-class, category and single data per form page).
    But when I try to add a new data entry, the first selection is the class, but this appears to add a new entry in sub-class instead of allowing me to select the correct sub-class that is already entered (new sub-classes would be created separately). This then is refusing to continue as it states there is a blank entry in the sub-class.
    Can anyone help as to how to create this?

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Not sure that I am following your process. Is it like this? Select class, requery sub-class combobox, select sub-class, requery category combobox, show data. Make sure that these comboboxes are unbound controls.

  3. #3
    tmd63 is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Oct 2016
    Location
    UK
    Posts
    16
    yes. That is the flow. But if I just cycle through the previous items created. Unbound boxes do not appear to display the correct items.
    The combo box appeared to show the correct Class, but stored the Class table reference as the name instead. So Class ID 1 was Anything, Class ID 2 was Another, Class ID 3 was 1 (this was being added as a new item instead of selecting 'Anything').

  4. #4
    tmd63 is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Oct 2016
    Location
    UK
    Posts
    16
    I have now changed the flow. Instead of cascading the data. I put the reference link ID in the Data table instead, so my data table has 'Data',Class_ID, Sub-class_ID, Category_ID all stored in one table.

  5. #5
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Can you post your database? Then I can see what is happening here. Or a small sample of this.

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

Similar Threads

  1. Filtering split form with selections from a listbox
    By stephenaa5 in forum Programming
    Replies: 5
    Last Post: 02-17-2016, 05:36 PM
  2. Forms using mutiple tables
    By cantord in forum Forms
    Replies: 11
    Last Post: 10-26-2012, 08:58 AM
  3. Replies: 2
    Last Post: 06-19-2012, 08:30 AM
  4. mutiple joins
    By mothermugger in forum Queries
    Replies: 1
    Last Post: 11-15-2011, 04:06 PM
  5. Replies: 9
    Last Post: 05-23-2011, 06:12 PM

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