Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: how i can change OLEDB connection properties? Post Reply Post New Topic
Author Message
mohamed_salafi8
Newbie
Newbie


Joined: 05 Feb 2008
Location: Saudi Arabia
Online Status: Offline
Posts: 17
Quote mohamed_salafi8 Replybullet Topic: how i can change OLEDB connection properties?
    Posted: 21 Feb 2008 at 12:37am
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?

IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 22 Feb 2008 at 7:56am
Unfortunately it's been years since I've had to call Crystal from Delphi and that was back in Delphi 5, so I'm afraid I'm not going to be much help here.
 
I'm not sure you're going to be able to find someone here with that information as this forum is mostly centered on Microsoft technology.  Your best bet is probably going to be to go to the Crystal Developer forums at http://diamond.businessobjects.com/.
 
-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.