Results 1 to 5 of 5
  1. #1
    lawdy is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    216

    Put query data in array

    I there any way to put the query results into an array so it can be used. I now put the results in a table (using the make table query). For instance, i may query 6 or so records from a table. Each record may have 5 or 6 fields. Is there anyway to refer to any field in any of the records without first putting them in a table?

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Refer to the query by name.

    Dale

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Refer to them to do what? You can open a recordset on the query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    Cheryl R is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    May 2013
    Posts
    36
    Sorry, but this question is confusing.
    You do not have to make a new table every time you query info from tables.
    Please be more specific with your question and you will receive more specific answers.
    Start with your definition of an array. Does this mean that it simply creates a list for you to do something else with?
    Explain in simple terms what you are trying to accomplish.

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I suggest you tell us in 3-4 lines WHAT exactly you are trying to do in plain English - no table or queries etc... Once we know what you are trying to do I'm sure more focused comments will follow.

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

Similar Threads

  1. Replies: 3
    Last Post: 02-17-2013, 09:20 PM
  2. making an array out of a query result
    By Richie27 in forum Programming
    Replies: 4
    Last Post: 05-01-2012, 01:53 PM
  3. Array problem
    By dbdvl in forum Programming
    Replies: 6
    Last Post: 12-03-2011, 07:34 AM
  4. Array will not ReDim...
    By yeah in forum Programming
    Replies: 1
    Last Post: 10-08-2011, 06:30 PM
  5. can i put the result in array?
    By dada in forum Programming
    Replies: 1
    Last Post: 08-19-2010, 07:17 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