Hi,

i can test the connection using

     sqlserver = new COM("SQLDMO.SQLServer");
                if(sqlserver.connect(servername,userid,password))

but, if i have more than one database in the server, how do i specify the
database in the above statement. in the above statement, only servername,
userid and password are given. i want to specify the database name also to
force the system to test the connection only in the specified database.


pls. provide the solution. Thank u.

regs,
Hema. S




Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.




SPONSORED LINKS
Business finance course Business to business finance Small business finance
Business finance consultant Business finance magazine Business finance schools


YAHOO! GROUPS LINKS




Reply via email to