Jump to content
Server Maintenance This Week. ×

Continouos Loopage!!!


This topic is 8072 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Good afternoon -

I have a script that is running great - except that it never stops looping. I have a pause step in it - so I can stop it for testing, but I need your advice.

Here is an outline of the script -

Enter Browse

goto Layout (List of Invoices)

Preform SubScript (finds overdue invoices - in current db)

goto First Record

Loop

Copy (Invoice #)

Preform Subscript (creates finance charge - in line items db)

goto Layout (Print Invoice)

Enter Preview (pause)

Page Setup

Print

Next Record (exit after last)

End Loop

Exit Script

It all works great - except that it is looping over and over again. I only have one invoice it should find - it finds that and gives it finance charges over and over again.

Why isn't it exiting after last - something to do with just one record found?

Thanks for your advice.

Link to comment
Share on other sites

When in Preview mode, the Go to Record step changes pages -- just like PgUp or PgDn.

You could leave the Preview mode step in: just remember to change back into Browse mode when it's required.

Link to comment
Share on other sites

This topic is 8072 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.