Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all! I use Section Access in my report.
I have the input box to input variable value.
Some users (as Administrator) can input value for Variable 1 - 'i'.
Some users (as User) can't do it, they can only "read only" the value of i.
I decided to create copy of input box object and than change the proporties for this input boxes:
1) Input box for Admin - "No constraints ":
2) Input box for User - "Read only":
But!! When i change this proporty in any input box, it will change every input box.
I.e. i coulnd't have another prorepties for 1 variable.
This property 'Input constraints' isn't property of object, but property of variable?
Could you help me with this issue?
How can i resolve it?
P.S. I have 5 input boxes including 45 variables ( "No constraints" - for admin ) and the same 45 variables ("read only" - for users)
Hi,
input constraints is a property of variable.
Try to create two variables and two inputbox, one for user and one for admin.
Add an attribute field (ex. UserType) with role USER or ADMIN (like a restriction field) linked to each user defined in the section access.
So use a conditional layout on the two object like this:
Show Conditional Expression for Admin: (UserType='Admin')
Show Conditional Expression for Admin: (UserType='User')
Hope this helps
MC
Thanks Mario!
i didn't know that it is a property of variable . Thank you
Kseniya,
What if you give access to the input box for ADMIN only? As for the user - hide the input box and show the same variable in a text box (which is read-only by its nature).
Regards,
Michael
Hi Michael!
This is a good idea! Thanks!