Results 1 to 3 of 3
  1. #1
    hyperionfall is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    mississippi
    Posts
    18

    query to select table based on another table feild value

    i have a query that makes a new table and renames (to that systems id, system#xxx_qty&loc) it when a new system is added. the new table tracks the quantities and location of parts for that new system, each system is unique. i also have a table (system id) that has a single feild that identifies the system (multiple front ends). i need to make a query that will select the correct table (system#xxx_qty&loc) based on the field value of the system id table. any ideas?



    thanks for the help guys

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    It is almost always a mistake to have multiple tables like that. In any case, you would have to build the SQL in code to have a dynamic table.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    hyperionfall is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    mississippi
    Posts
    18
    ye i know i should not set tables up that way but my manager wants everything on sharepoint and to keep the table size small enough for sharepoint to handle i need to have seperate tables for each system..i may be missing something in the design i dont know. what i have is an inventory list that each system uses. each system has its own locations for parts so i have to track each system with its location and quantities. each system has about 3 thousand parts with about 25 systems so that means i end up with one table with about 75000 records. share point willl not handle this

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

Similar Threads

  1. Replies: 4
    Last Post: 02-08-2010, 11:17 AM
  2. Linked table Query based form
    By sesproul in forum Forms
    Replies: 1
    Last Post: 01-21-2010, 08:46 PM
  3. Replies: 2
    Last Post: 10-27-2009, 07:09 AM
  4. Replies: 4
    Last Post: 09-03-2009, 02:01 PM
  5. Multi-select listbox and update flag in table
    By Suresh in forum Programming
    Replies: 0
    Last Post: 12-19-2007, 01:04 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