Crystal Report Database Connection

  • Thread starter =?iso-8859-1?Q?Alfons_Str=F6bele?=
  • Start date
?

=?iso-8859-1?Q?Alfons_Str=F6bele?=

Hallo,

I like to display and print my database data
with the help of (.NET)CrystalReport.
So far so good.

Can anybody tell me what to do in order
to change the absolute database path to a
relative one.
As far as I know, (.NET)CrystalReport can
only handle absolute path connections?!

By the way, is there any way to display
non database data like an array of CMyClass-
Objects?

Thanks for any help

Alfons
 
B

Bernie Yaeger

Hi Alfons,

If you're using sql server, it is relative by its nature, since it connects
to the database server through the server name. If you are connecting to
dbase, fox, excel, etc, you can set it to a relative path. In versions
prior to 9, it's simple: select the database menu and select 'convert to
unc' so that the drivespec of the report is the path to the table; for
version 9, however, it's difficult: select 'set database location'; click
the table name; expand the treeview below properties; right click the 'data
file' name; you will now see 'edit', 'same as report', 'convert to unc'.

HTH,

Bernie Yaeger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top