function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shwetal DesaiShwetal Desai 

Reports Using VisualForce and ApexCode

Is there any way to create reports using VisualForce and Apex Code and add that report in a ReportFolder?
Ron HessRon Hess
No,  there is no way to build a visualforce report page that shows up in the reports tab at this time.
Shwetal DesaiShwetal Desai

ooohhh.......

actuall,y I have an problem in a report,

Main Object -> Client, Name

Sub1 Object -> Employee

Sub2 Object-> Amount , Type [picklist ... there are 13 values in this picklist].

I want to create a matrix report something like this...

report view must like:
<headers>  Employee  Client  Name  Type1  Type2  Type3  Type4  Type5  Type6  Type7  Type8  Type9  Type10  Type11  Type12  Type13
<values>   Emp-1     Clt-1   ABC   12.20  25.00  0.00   50.25  10.11  0.00   0.00   0.00   0.00   0.00    0.00    0.00    0.00  

Type1, Type2,.............................Type13 must have the values of "Amount"  field of Sub2 Object..

I tried this in matrix report format... but not done..

what should i do for this? 

sspssp
Create a Visual Force Page with rendere as Pdf and you should be able to generate a report.