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

Retain focus of record after changing found set


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

Recommended Posts

Posted

There is possibly a simple and obvious answer to this but I am stuck!

 

Is there a way of retaining the focus of the current record after performing a new find?

 

In my example there is a script which displays a subset of the original found set (in a separate layout but the same window). Having scrolled through the subset to find a specific record I want users to return to the original set, but to stay focussed on the desired record.

 

I thought I could use the 'go to record by calculation' script step but the resulting dialogue appears to want a sequential record number from within the found set, not a unique number such as the RecordID.

 

Thanks for your help.

Posted

The only method is to remember the unique record id, change the found set, then loop through all the records and stop when the desired record is found. This would be pretty time consuming if the found set is large.

 

I'd re-think the strategy. Why does this need to be done?

 

I can think of other methods (like storing the recids of the found set in global field so they can be returned to using gtrr) but all of them will require a significant amount of data processing when the record numbers get large (or if the network bandwidth or latency gets bad).

Posted

OK, I will re-think this.

My users are viewing largish sets of contacts on a form layout from which they can display a subset (ie those contacts who have been tagged as most active) in a list format. They have asked to be able to "hyperlink" to an individual from the list back to the form display.

 

However the script I was writing to take them back to the form layout included performing a find to retrieve the original largish set of contacts, at which point the focussed record loses focus.

 

I could create a "pop up" form from the list to display more details of the focussed person and that would probably satisfy their hyperlink request.

Thanks for your response.

Posted

It sounds like you need a "picker" to allow the selection of something, particularly when the number of things gets too large for a pop-up menu. Search the forums for "picker". Others might be able to post a demo file.

 

Also look for "type-ahead" to make the selection easier.

Posted

I'm not following the work flow. User has a found set. They are navigating through the found set on a form view (previous and next buttons?).

 

Then, they want to constrain that found set to only those that are "tagged as most active." After working with that found set, they want to return to their original found set.

 

Why not just simply keep performing finds? What is the criteria for the first found set? How are records "tagged as most active," and how are they found?

 

Are you familiar with the interface technique that allows for a portal of "found records" where a selected portal row will display that record's detail?

 

Barbara

 

Here's a link to a popup select demo.

Posted

I'm going to go with an occam's razor type suggestion...

 

If you want to retain the active record when switching from List view to Form view, use Go to Layout step (both layouts must be based on the same Table Occurrence)

 

If you want to retain the found set, view the new set of records in a new window (going to detail layout as necessary), then close that window to return to the previous found set.

Posted

Thanks everyone. Apologies my workflow description was not clear enough. I will investigate your suggestions. To Dan - I am actually working with 2 found sets, was just trying to find a way to retain focus on a single record which is in both sets, same table occurrence, but different layouts. I have now re-oriented my thinking about the problem - good outcome! Thanks for your assistance Anne

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