sc_redir modal view

Hello, in the onAfterinsert event of a form i am doing this:

if ({field} == “value”)
{
sc_redir(app_to_call, parm1={var_test}, “modal”, 600, 700);
}

it works but opens a modal with a width that i can not change. The width (600) doesn’t seem to be affected by what i specify. Only the Height (700) changes.

How do i set the width of the modal view?

Am i writing a wrong syntax?

Thanks

Hello.
As the structure is: [SIZE=14px]sc_redir(Application, Parameter01; Parameter02; Target, [/SIZE][SIZE=14px]Error[/SIZE][SIZE=14px], height_modal, width_modal)[/SIZE]

You have to include the error parameter, even if you don?t use it, I?m using ver 9 and it works.

The command will be
sc_redir(app_to_call, parm1={var_test}, “modal”,600, 700);

Note the additional , after “modal”

Regards

Thank you for your help