Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Within a scripted loop that validates a user-found set of records, I'm trying to maintain a list of the records which fail the test, then later generate a report based on the list, kind of like this:

LOOP

If (Field A is empty),

Add its Record# to the end of an Omitted List (a repeating field?)

Add 1 to Omissions Count

Set field Reason Omitted to "Field A was empty"

Omit the record from found set

End IF

Next record

END LOOP

Now we process all records not thus omitted, then here's that list again:

Find each record# in the Omitted List

(by accessing successive repetitions X number of times by loop?)

Sort

Go to Exceptions Report layout

Print Report with record #s and reasons for omission from batch.

My probem is with the list. I am trying to use a repeating field, pasting each successive entry right below the previous one. I am not having much luck with doing that. How do you do this? Or you probably have a better scheme than the repeating field. I hope so. You have bailed me out before.

Any ideas?

Posted

Stick all of the records PrimaryIDs into one big text field. Then have a relationship from that text field to the PrimaryID field. Once the validation is complete you can simply Goto Related Record via that relationship. Then you will have a nice found set of all the records that failed validation.

This topic is 8512 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.