Appliation link from grid to form

Good day - i was wondering could you have 2 application links on a grid to the same form, one opening the form in edit view and the other in read only view?

Yes you can do that.

Make an IF ([closed] == 1)
{
field (xx, readonly} // something like that)
}
else
{
field (xx, read} // something like that)
}

in the Onloadrecord of the form
(set the global in the form to in

set in the link of the grid the [closed] global to 1 for read only
set in the other link of the grid the [closed] global to 0 for wtite only