Solved: Create loop for insert query
I managed to create a looping insert in my ASP application by using code something like this:
WHILE Counter <> 0
con.execute
Counter = Counter - 1
Wend
I want to simply pass the counter value to a stored insert query along with the values to be inserted. How do I create a loop within a qeuery in access? I've tried using WHILE @Counter <> 0, but it expects select, insert, update, or delete. Should this be done in a query, or does this need a macro, module, or something like that?