@UserName in Form Formula

I want to open a document using different form in different conditions. But conditions is depending to UserName

This form formula does not work in web becouse of the structure of a view

@If(@UserName = Field_1;“Form_1”;@UserName = Field_2;“Form_2”;“Form_3”)

I can not use Private View on the web

How can I solve this problem?

Thanks in advance…

Subject: @UserName in Form Formula

U just embedded the view into the page & in embedded view property write

@Name([Abbreviate]; @UserName) in show single catory event.then only u can use private view.

& in view the 1st column should be use name.

ok thanks

Subject: @UserName in Form Formula

I think u r talking about Hide/When FormulaWhat u have wriiten is not valid in web.

Instead Use single form.Put a field to catch user name. And apply Hide/when.

Subject: @UserName in Form Formula

Use only a single form with a calculated subform.