Show summary at columns viewerI'm running the columns viewer on selected columns withe the following JSL
Names Default To Here( 1 );
dt = Current Data Table();
Main Menu( "columns viewer" );
What JSL code must be added in order execute the "Show Summary" button automatically?
Re: Show summary at columns viewer
@danschikore wrote:
Unfortunately the Main Menu() command is generic and will not return a handle to the window that is created. You can use the window title to find the window and access the button, but this may be a fragile solution:
w = Window("Data Table Columns Viewer");
w[ButtonBox(3)] << Click;
Thanks for your support. The JSL is doing what I was looking for. To make this code perfect, what code must be added in order to switch off the Columns View Selector. If this is possible, I would get only the result of the executed columns viewer.
Re: Show summary at columns viewerUnfortunately the Main Menu() command is generic and will not return a handle to the window that is created. You can use the window title to find the window and access the button, but this may be a fragile solution:
w = Window("Data Table Columns Viewer");
w[ButtonBox(3)] << Click;