Allow pages to view by certain user

Hi,

I have a form with multiple pages (created under Layout > Pages). Example: Pag1, Pag2, Pag3.

When a user open the form, he can only view Pag1 and Pag2 but not Pag3. Can anyone kindly advise? Thanks.

The following can apply to grid but not sure about pages.

if ({user}==“Alex”)
{
sc_select_where(add) = " and manager=‘Alex’";
}

Personally I would not use a macro but apply it to the sql using a global var. Besides that, are you using the security model? If so, does your user has access to pag3?