Hi, Is there any way to get the databse server name from Dynamics GP.
I want to pass the server name to my .net dll and form a connection string.
Is there any procedure/function available to get the server name in dexterity?
*This post is locked for comments
As far as from dexterity I will be honest and answer "I have not clue what-so-ever" :)
However, you can get it from the ODBC settings in the Registry file.
Registry.LocalMachine.OpenSubKey("Software\ODBC\ODBC.INI", False) and loop through the Datasources until you find the Description you want "Dynamics GP" and then the subkey.GetValue("Server") should return the server you want.
hope this helps,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156