Conditional Formatting when on field comparison

Stimulsoft Reports.NET discussion
Post Reply
owainesau
Posts: 7
Joined: Wed Jul 19, 2017 1:02 am

Conditional Formatting when on field comparison

Post by owainesau »

Hi,

I have two fields, both integer values and i am trying to set conditional formatting on one of the fields if it is greater than the other.

Ive tried using an expression like: {invoiceData.totalInv > invoiceData.YTDTarget}

But it just prints the expression rather than the value in the field itself. If i use Field Is - Value, i dont know what to put in the greater than or equal to field.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Conditional Formatting when on field comparison

Post by HighAley »

Hello.

Could you specify where do you use this expression?
Here is a sample report with such Condition.
Report.mrt
(12.02 KiB) Downloaded 391 times
If you still need our help, please, send us your report template with sample data for analysis.

Thank you.
owainesau
Posts: 7
Joined: Wed Jul 19, 2017 1:02 am

Re: Conditional Formatting when on field comparison

Post by owainesau »

Hi,

Thanks a lot, that worked, i swear i tried this though already :S
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Conditional Formatting when on field comparison

Post by Andrew »

Hello,

Great! Thank you for the reply.
Post Reply