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

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

Recommended Posts

Posted

I have a script that sets a variable, `$_record_number`, to `Get ( RecordNumber )` based on a specific criterion. Once it's been set, I want to bring that record to the top in list view. (It's possible that the criterion is never fulfilled and that `$_record_number` is empty.)

The portion of the script that does this looks like the following:

Go to Record/Request/Page [ Last ]
Refresh Window []
Go to Record/Request/Page [ No dialog ; Max ( $_record_number ; 1 ) ]

When the `Refresh Window` step isn't present, the script doesn't work correctly. Instead of bringing the record to the top of the list view, it brings it to the bottom.

Unfortunately, the `Refresh Window` step causes the window to flicker as the script redraws the layout.

Is there a way to duplicate the end results of the above steps without using `Refresh Window` and avoid the screen redraw?

Posted

I haven't tested but...

If you go to the Last Record, and then move to Record x, it will scroll up until the record is showing - this would be the bottom of the screen.

What happens if you go to the first record?

Cheers

Webko

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