How to conditionally highlight cell in DBCrossTab

edited 3:48PM in FastReport 4.0
Hi. I have created DBCrossTab on my report. Everything works fine but I have to add one more feature. I have to conditionally highlight cell in this table.

What I tried is:
- do it in code, but it occured that checking field value it's too late here. I mean, for example I tried this code:
showMessage(dateToStr(<frxDBDataset."startDate">));

and it always was showing the last date from my dataset.

I tried to do this using conditional highlighting. But I was waiting, and waiting, and waiting.... and nothing happened. Report didn't show up.

So, how can I do this?

For example, if startDate is "2009-01-01" then memo.color:=clRed.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.