How to assign a value to all variables in a group

Skip to first unread message

Colin Reynolds

Jun 18, 2021, 4:26:18 PM6/18/21
Anybody know how to do this ?

I have a file containing User Names, Passwords, and Access Permissions.
Each User gets access to a number of different routines by a use of a simple 'Y' or 'N' against each option.
Variables are all contained within Groups (Main Menu, Sales Invoicing, Sales Ledger etc.)
Trouble is that there are well over 100 options, and I do not want to set them individually.
What I would like to do is;
If a user is flagged as "Admin", then set all Access Permissions to 'Y'
Is there a simple assignment statement that will change all items in a Group Structure ?
Tried a couple of things, nothing seems to work..
Reply all
Reply to author
0 new messages