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

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

Recommended Posts

Posted

What I am trying to do is get this script to use the Custom Dialog Input Fields to ask for search criteria. I'd like the pop up to ask for the report number, put the layout in to Find Mode, set the user entered data to field, the perform the find.

I have it working up to performing the find. When the script runs it stops and waits for the user to click the "Find" button (which shows up on the left Menu) in order to continue the script.

The report number is set to the proper field for the search, I just can't come up with the "go" command to execute the search.

I want the end user to key the report number into the pop up field, press enter and it bring up the record.

Here is my script so far with the problem spot in red

Go to Layout ["Figure Review" (Figure Review Table)]

Show Custom Dialog ["Figure Review"; "Do you need to Review Figures or Login as Cartographer?"]

If[Get (LastMessageChoice) = 1]

Re-Login (Account Name: "temp"; Password: "user"; No Dialog]

Show All Records

Enter Find Mode

Show Custom Dialog ["Figure Review"; "Please specify the Report Number for review." ; Figure Review Table::Report Number]

[color:red]Perform Find/Replace:o?

(rest of script)

End If

If [Get (LastMessageChoice) = 2]

Go to Layout ["CRAI Main Menu"()]

End If

If [Get (LastMessageChoice) = 3]

Re-login [Account Name: "Administrator"]

End If

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