Re: Export to PDF from populated c# Dataset without Database connection
Hi Don;Thanks for the link. The only hint I could find there is Tables[1].Location = PATH to a resource.Some sample code would be really helpful.Rolf
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Not that hard to do... if multiple tables are used you may need to add them also. private void DataSet1_Click(object sender, EventArgs e){ //CrystalDecisions.CrystalReports.Engine.ReportDocument rpt...
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Hi Don;Thanks for the sample. It now works for me.If you use SetDataSource(Dataset) alone CR will still fail on Export with Missing Parameters.Using SetDataSource(ds.Tables[0]) alone works. Any reason...
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
I don't recall why I had both now, main test app so lots of stuff in it but no note as to why I tried it.I think it was for DS's that used more than one table, yes people do that, seem odd but..... Don
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Hi Don;Sorry - it's not over...While all reports without sub-reports now work just fine, sub-reports seem to need something different than I have. Here is what I do now (data is ignored, CR goes to the...
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Hi Rolf Subreports should not be an issue. I typically troubleshoot the issue by taking out the subreport and testing it as a report of its own. Pass the dataset to it - if I get a problem, I go to the...
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Hi Ludek;Thanks for the hints. After many many hours of research and trial and error here are my findings:Assigning a dataset to CR does NOT work - seems CR is just ignoring it completely. What does...
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Re-reading the thread I think this is what is happening: Issue one: The subreport I believe is created off of a stored proc, which is essentially one table. You are now trying to make the report work...
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Hi Ludek;Sorry - I think you were.It all works now.The main culprit was touching the parameters collection and/or the Connection settings. This was a leftover on my part from the attempt to make the...
View ArticleRe: Export to PDF from populated c# Dataset without Database connection
Hi Rolf You have no idea how happy I am that this works finally. Thought I was loosing it LOLAnd to be honest, I got Don to reread this and he flushed out most of the "stuff". Guess sometimes I loose...
View Article