count loops

  • Thread starter boomtap via AccessMonster.com
  • Start date
B

boomtap via AccessMonster.com

Is there a way to have a macro count how many times it loops?
 
S

Steve Schapel

Boomtap,

Yes. You can put an unbound textbox on a form, and within each "loop"
you can use a SetValue action in the macro...
Item: [NameOfTextbox]
Expression: [NameOfTextbox]+1

Note that the RunMacro action has a Repeat Count argument that you can
use to control the number of iterations, or a Repeat Expression argument
that you can use to determine when it stops.
 
B

boomtap via AccessMonster.com

Worked great Steve. Thanks!

Steve said:
Boomtap,

Yes. You can put an unbound textbox on a form, and within each "loop"
you can use a SetValue action in the macro...
Item: [NameOfTextbox]
Expression: [NameOfTextbox]+1

Note that the RunMacro action has a Repeat Count argument that you can
use to control the number of iterations, or a Repeat Expression argument
that you can use to determine when it stops.
Is there a way to have a macro count how many times it loops?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top