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

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

Recommended Posts

Posted

Hi,

With a button-click, i want to go to a specific layout.

If there isn't a window open with this layout, it should open the layout in a new window.

If this layout is already open, it should just bring the appropriate window to the front.

FYI: i'm using multiple files in my application

Sounds basic ... but can nevertheless not get my arms around this :o(

Anybody who knows how to do this?

Thx,

Posted

select window [Name: whatever]

If [Get LastError]

Perform subscript to open the window required (i.e. New Window and then halt script)

End if

Posted

That's almost there, efen, except that does not guarantee that the existing window is on the correct record. So, I'd add a capture of the current key into a $var, and if (get (lasterror) do a find in the existing window for that $var.

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