Logs on to a SQL server.

Usage

[form.]Report.Connect[= Name;UserID;Password;DatabaseQualifier$]
For example:

Report1.Connect = "DSN = Accounting;UID = 734;PWD = bigboard;DSQ = Administration"



Originally posted by thienloclt
Please help me how to crystal report connect to database(SQL Server) within code Visual Basic.
Thanks!