Results 1 to 6 of 6
  1. #1
    v!ctor is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Greece
    Posts
    17

    Cascading boxes

    Hello

    I want to create a database with cascading boxes. I have a sample that has a form that filters the data from 4 tables and I want this data to be saved in a table. Can please anyone help me how can I do this?

    Attached please find the database. The table which I want to save the data is tblTotal.

    thank you
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Why would you need to save these selections to a single table? Just build a query that joins the tables and all the related info is available. You attempted that with qryTaxonomy but need to change the join types from INNER to RIGHT so all species will show.

    SELECT tblPhylum.KingdomID, tblGenus.PhylumID, tblSpecies.GenusID, tblSpecies.SpeciesID, tblSpecies.SpeciesName, tblSpecies.Description
    FROM tblKingdom RIGHT JOIN ((tblPhylum RIGHT JOIN tblGenus ON tblPhylum.PhylumID = tblGenus.[PhylumID]) RIGHT JOIN tblSpecies ON tblGenus.GenusID = tblSpecies.GenusID) ON tblKingdom.KingdomID = tblPhylum.KingdomID;

    Now you can build a search form that uses that query as source data.

    However, as you will see in that query, many species do not show associated kingdom and phylum. Are your datasets for Genus and Phylum tables incomplete?

    Species record 122 has genus (Dermacentor) but no species info.

    Species record 120 has misspelled description of Arorwleaf Clover.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    v!ctor is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Greece
    Posts
    17
    First of all, thank you for the reply.

    My form starts entering the "man" and "date" field. After choosing the route of the work via the cascading boxes I manual enter the "quantity". I need all these data in a new table in order I can manage them as I want (e.g by "man" and "date"

    Attached please find the real database (its not finished yet).

    The ideal for me would be to create a button at the end to enter these data.

    very much appreciate for your help and for any suggestions
    Attached Files Attached Files

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    If you want to save data to table then bind form to table, bind comboboxes to fields.

    Here is demo of cascading comboboxes http://datapigtechnologies.com/flash...combobox2.html

    You have lookups set in tables - I advise against that, review http://access.mvps.org/access/lookupfields.htm

    Be aware cascading combobox with lookup alias will not work nice in continuous or datasheet view form.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    v!ctor is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Greece
    Posts
    17
    I am very new in access and I am confused....
    I dont know how to bind the form (that already reads from other tables) to the new table.

    thank you for your help

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    I am confused by your confusion. Building bound forms with bound controls is basic Access functionality. Access Help has guidelines. Set the form RecordSource property, set controls ControlSource property.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. cascading Combo boxes
    By Chatholo in forum Forms
    Replies: 2
    Last Post: 08-09-2013, 01:39 AM
  2. Cascading Combo boxes
    By finsmith in forum Forms
    Replies: 10
    Last Post: 02-12-2013, 09:37 AM
  3. Cascading List Boxes
    By Gee in forum Access
    Replies: 13
    Last Post: 02-07-2013, 01:16 PM
  4. Cascading Combo Boxes
    By desireemm1 in forum Programming
    Replies: 1
    Last Post: 10-05-2009, 06:00 AM
  5. Cascading Combo Boxes
    By gjw1012 in forum Access
    Replies: 1
    Last Post: 07-25-2009, 04:59 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