The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Permits manager
Posted: 25 Jan 08 3:05 PM
|
Hello All
I have a problem, I have a remote user, but to developer a new module are blocked "label" and "check" depending on whether the user is "manager" or not. I use the function:
If not Application.Users.Item (StrCurrentUserID). Ismanager then Chkagentecobranzas.Visible = False Cboagentecobranzas.Visible = False Application.Users.Item(Application.BasicFunctions.CurrentUserID). Code End If
In the main basebase works correctly, only users "manager" may see the "label" and "check", but at the base of the remote user can see if the "label" and "check". Remote User is not a user manager.
I did tests and is in the main database and the database remotely usersecurity table in the field ismanager = FALSE, in the two bases.
How could solve this? |
|
|
|
Re: Permits manager
Posted: 26 Jan 08 10:43 AM
|
I saw your (exact) same post on ItToolbox..
You need to fire your script on form change...
BTW.. based on what you have posted.. it looks like this is not an external development item but a normal VBScript item. -- RJLedger - rjlSystems |
|
|
|
Re: Permits manager
Posted: 28 Jan 08 9:18 AM
|
Hello.
I have the script in the AXFormOpen.
What is the difference to have the script in the AXFormOpen and have the script in the AXFormChance ?????
Thank you for your help .. |
|
|
|
Re: Permits manager
Posted: 28 Jan 08 10:19 AM
|
AXFormChange.....
There's NO data available until AFTER AxformChange fires. - SalesLogix 101... -- RJLedger - rjlSystems |
|
|
|