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

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

Recommended Posts

Posted

Hello,

I have a "list view" layout(LayoutA) with a button. The button opens up a "form" layout(LayoutB) displaying the record the user originally selected.

It work fine but the user can browse to another record. I want to constrain the record the user selected. How do I do this?

I tried this:

Go to Layout[layoutB]

Go to field

[select/perform;LayoutB::Field1]

Go to Record/Request/Page

[No dialog;LayoutB::Field1]

but it doesn't work. Can someone please help me? Thank you

Posted (edited)

I am assuming that the record is in the same table. On the list view (layoutA) you could isolate the record by using a selfjoin relationship. Put the record id in a global field when the user clicks the button, and then gtrr in new window via this relationship. Then pause. Give them a Close button on the form that Exits Script and closes the window.

However, when I want to give users a "peek" into a record from a list view, I usually design a layout that does not have any navigation buttons on it. That way, they are in this form view in a found set=1, in a pause, until they close.

Edited by Guest
Posted

Glad to help. Just reread my post, and you don't need the global. Have the relationship be primarykey=primarykey in the same table (selfjoin). Then gtrr using that relationship, as I described.

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