Skip to main content
Can any one help me out .How to show current and future year data in visual force page pdf format .Based on the query i get the data retrived for the current year (2014 )and When i add the data for the year (2015) it gets added it the year (2014) but the data should get displayed separately .Any Example,Any Suggestion .I shall appreciate your help.

This is the Table (expected output)

ProductName Year Q1 Q2 Q3 Q4 Total

BXRC-25e4000-F-04 2014 100 200 300 400 1000

2015 100 100

BXRC-25e4000-F-23 2014 200 200 400

2015 300 300

Subtotal ------------ 700 200 300 600 1800

But i get the o/p as

ProductName Year Q1 Q2 Q3 Q4 Total

BXRC-25e4000-F-04 2014 500 200 300 400 1400

BXRC-25e4000-F-23 2014 200 200 400

Subtotal ------------ 900 200 400 800 1800

The subtotal value and the year does not get displayed correctly.I shall appeciate your help.

 
2 个回答
0/9000