print expression
Posted on September 18, 2008 at 8:28am
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
Joined: Oct 3 2007 - 4:11pm
Last seen: 1 year 2 months ago
Posted on September 18, 2008 at 9:21am
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.
Joined: Mar 19 2007 - 5:57am
Last seen: 16 years 6 months ago
Posted on September 18, 2008 at 11:38am
can you be a bit more clear.
Joined: Oct 3 2007 - 4:11pm
Last seen: 1 year 2 months ago
Posted on September 19, 2008 at 1:11am
svenns post seems very clear to me, so what exactly didn't you understand?
Joined: Sep 17 2008 - 2:54am
Last seen: 1 year 4 months ago