Question

Best Practices for Navigating from Overview to Detail Windows

  • 15 May 2024
  • 1 reply
  • 10 views

Badge

I have a data block that displays records from a specific table. Can anyone tell me how to navigate from this summary window to a more detailed information window where data can be changed?

To clarify, I have a sensor summary IW window and want to move from this window to a sensor edit IW window, passing as a parameter the Pk of the current record so that the selected record can be edited.

We DO NOT have a USOFT web application. 


1 reply

Userlevel 2
Badge +2

Hi Bert,

The easiest way to do so, is by not using and Info Window but a Secondary Window. Secondary Windows share their query with the calling Info Window, so they synchronize automatically.
It is also possible to make an Info Window synchronize with another Info Window. To do so you can use a User Defined Property on the calling Window with a class Info Window or using the single record Window name as the Class name.

The steps are described in this topic on the Community:
https://community.usoft.com/scripting-in-usoft-windows-designer-102/window-interaction-559

Or in the USoft 9.1 Developer help at:
https://developer.usoft.com/documentation/91doc/htm_thecreatedwindowaffectsthecallingwindow.htm

 


Regards

Robert

 

Reply