Results 1 to 2 of 2
  1. #1
    bonecone is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    25

    Question retrieve table contents from an array


    Is there a function like DLookup that can retrieve multiple rows into an array instead of just one field value from one record, or do I need to come up with a custom solution?

  2. #2
    ketbdnetbp is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Mar 2011
    Location
    Midwest
    Posts
    254
    bonecone - Personally, I haven't come across a function of that nature, so I think you'll have to find a custom solution. One way is to walk a recordset and populate an array based upon field values. Then, use the array data to perform some other task by referring to the individual elements of the array.

    Hope this helps,

    Jim

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

Similar Threads

  1. Defining an Array in an Access Table
    By EddieN1 in forum Database Design
    Replies: 9
    Last Post: 10-10-2014, 08:09 AM
  2. Replies: 5
    Last Post: 04-18-2012, 12:04 PM
  3. Replies: 1
    Last Post: 03-09-2012, 07:43 PM
  4. Replies: 3
    Last Post: 05-23-2011, 02:15 PM
  5. How to retrieve field names in a table
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 12-05-2010, 09:09 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