Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
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!
 External Development Forums - General External Development
Forum to discuss general external development topic (related or not to SalesLogix development). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General External Development | New ThreadView:  Search:  
 Author  Thread: Permits manager
Bryan
Posts: 46
 
Permits managerYour last visit to this thread was on 1/1/1970 12:00:00 AM
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?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Permits managerYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Bryan
Posts: 46
 
Re: Permits managerYour last visit to this thread was on 1/1/1970 12:00:00 AM
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 ..
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Permits managerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 08 10:19 AM
AXFormChange.....

There's NO data available until AFTER AxformChange fires. - SalesLogix 101...
--
RJLedger - rjlSystems
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 2:21:30 PM