Thank you,
You are 100% correct, I passed it a DataTable rather than a DataSet and
viola, works perfectly!!
Business Objects NEED to correct their documentation -- they claim setting
the Table name (in a dataset) will work -- well it doesn't!! Argh, I hate
wasting time like this. But thank you for you help.
What I find even more disturbing is the lack of documentation in various CR
..NET books I've read - none of them mention using .TTX files (or how to use
Field Definition Files within CR.NET under VS.NET) which is in my mind by
far the most flexible way to get the job done and VERY easy to implement
(performance is as good if not better using a dataset object with all it's
overhead) without major distribution headaches. And NON of the books cover
working with reports created in CR 8.5 or later.
Argh!
But thanks again,
Rob.
"Optikal" <Op*****@discussions.microsoft.com> wrote in message
news:F1**********************************@microsof t.com...
One thing I noticed is that CR expects you to pass a DataTable to the
SetDataSource method (despite what the documentation says about passing a
DataSet).
"Rob R. Ainscough" wrote:
Not sure where to post this as there doesn't appear to be a section
dedicated to Crystal Reports in .NET.
I've created a Report (.rpt) that is based on a Field Definition file
(.ttx). I use a dataset as the DataSource for my report. I use the
(Windows based) report viewer to display my report, but it only shows a
single record? I've double checked that my .ttx filenames and types
match
(the dataset), and also confirmed that my dataset does contain more than
one
record (in this case it has 146 records).
I've also checked Business Objects web site and found article on how to
use
..ttx files and followed their process, but still no go.
Any suggestions?
Thanks, Rob.