Grid and "See details"

Hi,

How to do, if I want when I click on “See Details” in a grid, it makes me go to another grid.
I explain, I have a grid with my orders and by clicking in “See Details” (at the begining of the row) I want it open an editable grid with the detail of the order, but by default it just open the same row infos in a new window.

Regards.

Re: Grid and “See details”

Create a new field called “detail” … at the onRecord event add this:

{detail} = " See Details ";

Now create a link on this field and call the application that you want passing the parameters that you need. :slight_smile:

Re: Grid and “See details”

Hi,

This create a new field with a link, but isn’t it possible to use the “See details” option already present in a grid.
And whith the code you gave me, all the order_details records apear in the detail grid not just these that correspond with the command_id from the all commands grid.

Thanks for your help.
Diedeer

Re: Grid and “See details”

The default detail its to see the record, for ex: your are displaying only 3 fields … detail shows all fields.

To use a detail grid you need to change the sql to:

select
your_fields
from
your table
where
order = [var_order]

and at your first grid, redo the link passing the order id, now you’ll only see the order_detail from your specific order. instead of using the string " see detail" yu can use image too … so this you’ll fit your needs.