I've some trouble to hide an attachment in a database.
The commands (e.g. @IsNotMember("[Finance]";@UserRoles) or
@If(@Name([CN];@UserName) !="xxx yyy" ) are working on a Form but when I use them on Subforms and in Sections they don't seem to work.
I tried it in different way but the only I could do is to hide the whole section. Is there anything that functioning different on Subforms and Sections than on a normal Form?
My goal is with that database to prevent not Finance users from opening an attachment, but even if I set Default to Author, the user with Author access can't edit other's Forms but they can open the attachment!