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

Simple Find Request in Script keeps looping back without cause.


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

Recommended Posts

  • Newbies
Posted

Hello to all,

I am writing a script for a simple verification of already existing records before a new record is created.

The script begins with a custom dialog asking the user to enter the date for the record being created. That input field is stored in a "Temporary" field on the current table. I then Set a local Variable with that date using the Temporary Field.

It then goes to a Find Request that matches any existing records in the current table with that Date.

When using the Debugger, I can see that it when the script operation reaches the Request Find step it loops back and opens the above mentioned Custom Dialog.

I cannot find a reason why it would do this.

Please help!

Here's the data:

Show All Records

Show Custom Dialog ["Begin Payroll Worksheet"; "Please enter the last day of the pay period."; Payroll Weeks::TMP_WeekID Check]

Set Variable [$WeekCheck; Value:Payroll Weeks::TMP_WeekID Check]

Perform Find [Restore] Find Records Criteria - Payroll Weeks::Payroll Week End Date: [=$WeekCheck]

It then loops back to Custom Dialog.

Posted

you have it as a script trigger perhaps?

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