button grid with modal

button grid with modal

Hi, in a form, I would like to put a button … a written click I open a modal mode grid is possible ???
This function I carry out easily with the catch link, but in this case the connection with a grid I do not need to retrieve the data but only to consult it.
And 'possible?

Create new button of type Link and point to the grid application (and set as modal in the options) - this will be an application link, not a capture link.

I tried and it works.
There is a way, however, to create a link that open a grid, let me see only the records that relate to the company code that I have in base form where I create the link?

Yuo can define a global variable [var_name] and add a WHERE to SELECT when the variable is filled with a search criteria using sc_select_where(add) then define in the link properties the value of the parameter variable .