Linking Crystal Reports To ADO .Net Dataset

  • Thread starter Thread starter Colin Graham
  • Start date Start date
C

Colin Graham

I have recently created a report in crystal(10) linking to a dataset
as the datasource. I notice however that the fields available in the
report all have STRING format and therefore i cannot change format in
crystal(10) e.g. I wish to change a date field to have the format
dd/MM/yyyy.

The main problem here is that the dataset seems to store data only as
string. Is there anyway i can avoid this.

Many thanks,

colin Graham
 
Hi Colin

Am trying to use crystal reports in a project, however
all I seem to get is the error message "Logon failure". I
then went off and created my own dataset and filled it
with the data i wanted (no prob. so far). I then went to
link the dataset to the crystal report using the
following command: orpt.setdatasource = dataset, (orpt is
a new crystal report). The problem is here in that the
orpt chooses to ignore the command. Any suggestions or
how did you go about linking the dataset to the crystal
report??

Mike.
 
Colin,

How did you connect Crystal to a dataset? I am trying to accomplish
the same thing.

Thank you!

Dan
 
You can change the format. You just have to create a formula field in the designer, then
edit that string. You can probably (i'm not really 100%) convert that string back to the
date format you want... there are lots of built in functions in cr10.
| Colin,
|
| How did you connect Crystal to a dataset? I am trying to accomplish
| the same thing.
|
| Thank you!
|
| Dan
|
| Colin Graham wrote:
| > I have recently created a report in crystal(10) linking to a dataset
| > as the datasource. I notice however that the fields available in the
| > report all have STRING format and therefore i cannot change format in
| > crystal(10) e.g. I wish to change a date field to have the format
| > dd/MM/yyyy.
| >
| > The main problem here is that the dataset seems to store data only as
| > string. Is there anyway i can avoid this.
| >
| > Many thanks,
| >
| > colin Graham
|
 
Back
Top