print expression

Hi,

Here is my requirement.

I have  a sub report  which has data filled in through the database.The data will be like

CASH                 $100.00

CHECK             $100.00

VISA                   $100.00

MASTER CARD      $100.00

 

Now based on the value like cash,check,visa and master card i want to print the policy of  each.

Say if i get  cash as parameter then i need to print cash rules on the report.And if check then print check policy rules,visa then visa policy rules and the same  for master card.

I think you got my point of printing based on each tender type/payment type.if the payment is done by both cash and visa then print both policies/rules on the report.

 

Thanx

 

rbojja's picture
527
Joined: Oct 3 2007 - 4:11pm
Last seen: 1 year 2 months ago

3 Answers:

In your subreport create a band with the text for the different option. Depending on where you want the text to appear either use an existing unused band or create new group bands. Then use the print when expression to contol what text is printed.

svenn's picture
15210
Joined: Mar 19 2007 - 5:57am
Last seen: 16 years 6 months ago
can you be a bit more clear.
rbojja's picture
527
Joined: Oct 3 2007 - 4:11pm
Last seen: 1 year 2 months ago

svenns post seems very clear to me, so what exactly didn't you understand?

jreporter's picture
134
Joined: Sep 17 2008 - 2:54am
Last seen: 1 year 4 months ago
Feedback