In Access 2000 I run a query that returns a different number of records each time. I want to run a macro on those records, but I need an expression that allows the macro to repeat itself only the number of times equal to the number of records returned by the query.
I am running a macro within a macro. The first macro works on the first record. Then it calls the second macro which runs in a loop through the remaining records. How can I make the second macro stop after the last record is modified (obviously, the second macro needs to repeat a number of times equal to the number of records -1.) I see the Repeat Count option, but that is not the answer. It needs to work automatically.
Is this the right approach? Is a proper repeat expression what I need? Thanks.
I am running a macro within a macro. The first macro works on the first record. Then it calls the second macro which runs in a loop through the remaining records. How can I make the second macro stop after the last record is modified (obviously, the second macro needs to repeat a number of times equal to the number of records -1.) I see the Repeat Count option, but that is not the answer. It needs to work automatically.
Is this the right approach? Is a proper repeat expression what I need? Thanks.