Is this possible?
I want to add database to crystal report (I'm using crystal report 8.5) from a dll file.
Printable View
Is this possible?
I want to add database to crystal report (I'm using crystal report 8.5) from a dll file.
Could you explain what you are trying to do a little more in depth? :confused:
Usually to add a data source I choose Database -> Add Database to Report, right? Then I will choose the connection to db that I want, I'm usually using ADO and OLEDB. The DB itself maybe an access file or from SQL Server (here I'm using SQL Server). After finish adding a database, if I choose Database -> Set Location, at the Database group there is a list of table name that I've choose before and at the Location group show where the table came from e.g. Table: MYDB.dbo.MYTABLE, right?
Ok then, my question is, how to make the Location of the table in list came from a dll files e.g. Files: C:\MyFolder\MyDLL.dll.
Thanks. Hope u can understand my explaination.
Ok, a little better. If you mean to change the datasource at runtime to the
dll location, then that one thing, but if you mean for design time then I dont
think you can do it for a dll. Which is what you need?
Ok, that thing is fine. Can you give me an example?Quote:
Originally Posted by RobDog888
And by the way, please take a look at the attachment, and see menu
Database -> Set Location. How can?
Thanks RobDog888.