Results 1 to 6 of 6
  1. #1
    rzardo is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2014
    Posts
    3

    Using a combobox on a form to select table

    Hi all,



    I am new on here, so forgive me if I am posting in the wrong place.

    I am trying to use one form to manage multiple unrelated tables that share the same field names (i.e. SKU, Name, Description) . My goal is to utilize a combobox or listbox to choose which table the data is sent to.

    I have been researching this for two days with no luck. Please help.

    Thanks.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Why are these tables unrelated? Why do you have multiple tables with the same field structure? What you want can be done but I am confused as to why it is necessary.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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
    rzardo is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2014
    Posts
    3
    I think it is stupid too, don't worry.

    I am making this for my mom's amazon and square stores. Apparently you have to export and submit each category as it's own file (books, jewelry, etc.), so she wants each category in its own table so that she can easily export the tables.

    If you have a better idea I am definitely all ears. I am semi-experienced with access, but not with the importing and exporting features.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Multiple tables same structure = bad design.

    One table.

    Use queries to filter records.

    Export query.
    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
    rzardo is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2014
    Posts
    3
    I didn't upload my file because it is virtually non existent at this point. I was trying to solve that one problem with a "dummy" file before I put too much time into the database. I didn't want to have to re-do everything if I need to go a different direction with the whole thing.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Just add a Category (books, jewelry, etc.) field in the table. Then use query to filter for the desired Category. Export the query.

    Review http://www.datapigtechnologies.com/f...earchform.html
    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. Impossible to select any value from the ComboBox
    By GaioAugusto in forum Programming
    Replies: 4
    Last Post: 12-31-2013, 03:29 AM
  2. ComboBox, select null?
    By offie in forum Queries
    Replies: 2
    Last Post: 07-19-2013, 06:27 AM
  3. Replies: 1
    Last Post: 04-26-2013, 05:30 PM
  4. Use combobox to select form to open
    By gemadan96 in forum Forms
    Replies: 11
    Last Post: 11-15-2012, 01:42 PM
  5. Form ComboBox Filter - Select ALL records
    By jhrBanker in forum Forms
    Replies: 2
    Last Post: 08-02-2012, 08:57 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