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

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

Recommended Posts

Posted

By now, I use this newbie method lol.

I have a script that generates some new records in table 2, depending on a date in table 1, after a search.

With a $variable get(foundcount) I count these records, so at the end of the script I can show a dialog saying "xx new records generated".

After some improvements, now not all founded records need to generate a new one in table 2.

How could I count only the number of new records generated?

Posted

Not sure how exactly you go about creating those new records, but the following method should work any way.

Count the new records during creation, e.g. with Set Variable ( $numberOfNewRecords ; 0 ] when the script starts, and a Set Variable ( $numberOfNewRecords ; $numberOfNewRecords + 1 ] step after every New Record step. Finally, display a dialog saying $numberOfNewRecords & " new records generated.".

Posted

Sorry, self answer.

After New Record/Request step

Set Variable [$A; value:$A + 1]

Two hours thinking and I see the light 10 minutes after crying for help, lol

Sorry eos, I didn't see your post.

Thanks for the help. You are right.

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