sample report


Author
Message
Eric Leissler
Eric Leissler
StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)
Group: StrataFrame Users
Posts: 0, Visits: 527
Hi , Im back  on this forum

I just want a sample example  to made a sample report.

how il do ?

I made an bo on a  sql vue

I made an BBS on this Bo

when i execute, my report is correct but no populate.

Have you a sample exemple because i need to understand the mécanisme .

thanks

bestregards

Eric

Replies
Les Pinter
Les Pinter
StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)StrataFrame Team Member (95 reputation)
Group: Forum Members
Posts: 43, Visits: 213
Hi Eric,

   I should have built this example sooner; but better late than never. I did an example with Crystal Reports, which I use often and like. 

   In this example, I created a customer list ordered and grouped by Country, then built the report with the first 100 customers. In my example, the only form, Form1, is entirely occupied by a CrystalReportViewer. Here's the code:

      customersBO1  .fillTop100();

      rptCustomers rpt = new rptCustomers();
      rpt.SetDataSource(customersBO1.CurrentDataTable);

      TextObject t = rpt.ReportDefinition.ReportObjects["Title"] as TextObject;
      t.Text = "Customer Listing";
      crystalReportViewer1.ReportSource = rpt;

   Crystal has some peculiarities (like having to create an instance of a TextObject that points into the report, then assigning a text string to thë isntance. I wish they permitted a syntax like rpt.Title = "Customer Listing", or even rpt.ReportDefinition.ReportObjects["Title"] = "Customer Listing"; but unfortunately, that's not how it works.

   However, SF works equally well with SSRS. Let me know if you'd like a sample done with SSRS, or help on some specific issue.

Les

Attachments
ReportingSample.zip (167 views, 47.00 KB)
Eric Leissler
Eric Leissler
StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)
Group: StrataFrame Users
Posts: 0, Visits: 527
Hi les,

I will see your example  tomorow  a morning

very thanks

best regards

Eric

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Eric Leissler - 16 Years Ago
Edhy Rijo - 16 Years Ago
Ger Cannoll - 16 Years Ago
Edhy Rijo - 16 Years Ago
Eric Leissler - 16 Years Ago
Eric Leissler - 16 Years Ago
Edhy Rijo - 16 Years Ago
Michel Levy - 16 Years Ago
Eric Leissler - 16 Years Ago
Russell Scott Brown - 16 Years Ago
Les Pinter - 16 Years Ago
Eric Leissler - 16 Years Ago
Eric Leissler - 16 Years Ago
Greg McGuffey - 16 Years Ago
Russell Scott Brown - 16 Years Ago
Les Pinter - 16 Years Ago
     Thanks!
Russell Scott Brown - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search