Quantcast
Channel: SCN: Message List - Export to PDF from populated c# Dataset without Database connection
Browsing all 14 articles
Browse latest View live

Export to PDF from populated c# Dataset without Database connection

I have Crystal Reports Developer Full version 11.5.12.1838, all versions of Visual Studio and about 100+ reports targeting printed paper.They were developed over the last decade with the Developer...

View Article



Re: Export to PDF from populated c# Dataset without Database connection

Hi Rolf, Easy to do. First I moved your post to the .NET SDK forum Second, search for .SetLocation and you'll find lots of sample code on how to. It's simply: report.SetLocation(Dataset); Don

View Article

Re: Export to PDF from populated c# Dataset without Database connection

Hi Don;Thanks for the answer. While the suggestion report.SetLocation(Dataset)  looks right, I just spent 3 hours trying to find anything about it - no success.Any chance you can point to a specific...

View Article

Re: Export to PDF from populated c# Dataset without Database connection

How about looking the SDK help file: http://scn.sap.com/docs/DOC-27465 If I get time I'll paste in some sample code. It may be simply .Location() Don

View Article

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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article


Re: 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
Browsing all 14 articles
Browse latest View live




Latest Images