Determining an ADO ConnectionString

Hi, I’m putting together a ocx for some sql server database access but I want to be able to determine the required connection string info from within the Navision client and get the client to pass this to my ocx. How can I determine the server,database,username & password name from within the navision client. I know this may be a simple question but I’m quite new to this subject. Thanks in advance, T.

I’ve searched the forum, these two topics could / should help you. http://www.navision.net/forum/topic.asp?TOPIC_ID=2492&SearchTerms=servername,databasename http://www.navision.net/forum/topic.asp?TOPIC_ID=5942&SearchTerms=servername,databasename Good luck!