Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, August 25, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: How to get the Info if user works with Server or Remote DB
Mabo
Posts: 21
 
How to get the Info if user works with Server or Remote DBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 08 9:33 AM
Hi,

I want to create function behind buttons which only works for the main server db and not for the remotes. So how can I retrieve the info if the user is logged on to the mainserver or to a remote db. Should I check connection string with servername or something like this, or is there any flag which I can read out.

Thanks in advance

regards

Mark
[Reply][Quote]
Steve Robertson
Posts: 146
 
Re: How to get the Info if user works with Server or Remote DBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 08 10:11 AM
Hi Mark,

You need to check the DBType from the SystemInfo table:

SELECT DBTYPE FROM SYSTEMINFO

1 - LAN
2 - Remote
3 - Remote Office

Cheers,

Steve
[Reply][Quote]
Mabo
Posts: 21
 
Re: How to get the Info if user works with Server or Remote DBYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 08 12:09 PM
HI,

thanks, that's exactly what I needed.

Mark
[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 © 2025 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): 8/25/2025 12:58:40 PM