How do I build a dynamic array from a SQL select statement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Staj4
    New Member
    • Mar 2008
    • 1

    How do I build a dynamic array from a SQL select statement

    Hey,
    In our application, we need to build an array by selecting from a MS-SQL table.
    We want to process as follows:

    1) Load the array with the SQL select statement
    2) Process the array item-by-item (loop)
    3) Once a single item is processed, we want to delete the item from the array,
    or at least never process that item again (in the process loop)

    Can anyone please assist

    Thanks
    Scott
  • janders468
    Recognized Expert New Member
    • Mar 2008
    • 112

    #2
    I assume from the wording you are using SQL server? What are you using for the front end?

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32656

      #3
      Basic DAO recordset loop using two recordsets may prove helpful.

      Welcome to TheScripts.

      Comment

      Working...