Results 1 to 3 of 3
  1. #1
    zxc is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Nov 2010
    Posts
    2

    Gerate filed names in a query based off of a table

    I need to generate field names for a query based off of information from another query. What I have are two tables, one containing the specific information customers require, the other a large table containing the information. I want to generate a table of results based on customer specific requirements. I apologize if this questions has already been answered somewhere else, I tried search for it, but could not find what I am looking for.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    dynamic field creation in a query can only be done through code. you need to create a querydef in the 'currentdb' collection

  3. #3
    zxc is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Nov 2010
    Posts
    2
    I was afraid of that, I am very new to the code bit, is there an example out there? I have table 1 "COA req" and table 2 "QA Data" I need the test names that would be specified in a query of COA req to become the fields in a query of QA data.

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

Similar Threads

  1. Replies: 1
    Last Post: 11-05-2010, 05:49 PM
  2. Replies: 1
    Last Post: 05-17-2010, 12:21 PM
  3. Replies: 2
    Last Post: 10-27-2009, 07:09 AM
  4. Query to get column names in a table
    By access in forum Queries
    Replies: 1
    Last Post: 07-06-2009, 05:10 AM
  5. Query to get column names in a table
    By access in forum Forms
    Replies: 1
    Last Post: 07-01-2009, 02:50 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