Retrieving Info for User Logged Into Main Server or Remote Database in SalesLogix

Question: I would like to create a function behind buttons in SalesLogix that
will work for the main server database but not for remotes.  I’m
wondering how to retrieve the info if the user is logged onto the main
server or the remote database?  Should I be looking at the connection
string with server name, or is there a flag I can read out?

Answer: You need to check the DBType from the SystemInfo table:

SELECT DBTYPE FROM SYSTEMINFO

1 – LAN
2 – Remote
3 – Remote Office

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!