I have a report for printing data from MSSQL database.
For connecting to database i'm using OLEDB Provider for SQL Server. In designer my report working Ok. But at runtime i should change the server name and/or username, password or database. So i can't change server name.
Always if i use other Server, i have connection failed.
At runtime i'm using Delphi 7 and CR VCL for Delphi 7. For
changing connection parameters i'm use the Connect property. Also this problem occured in sample application which shipped with CR VCL.
Please, tell me: how i can change OLEDB connection properties?