Jump to content

Omit Loop


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

Recommended Posts

I have a FM Pro 4 script that loops to tests the value of a field and omit the record if true. The problem is when there are two or more consecutive records that meet the test criteria. In this case, only every other record is omitted because the record is omitted and when the script reaches the goto next record step, it is going-to from the record AFTER the omitted record, not from after the record that was omitted.

So far, I've "solved" the problem by sorting by the test field and creating a loop that counts the desired records. I then loop again until I reach the desired field, and perform a multiple omit. But this involves user interaction to enter the value of the counter in the omit multiple dialog box.

What......?

------------------

Sad, sad day for America.

Link to comment
Share on other sites

This topic is 8026 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
 Share

×
×
  • Create New...

Important Information

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