Joined: 29 Aug 2008
Online Status: Offline
Posts: 30
Topic: Add Color inside a variable Posted: 15 Apr 2013 at 4:58pm
Hello, I have a variable that has the chr(13) embedded in it. This variable is placed on the report footer and reflects some totals for all of the lines on the report.
What I want to do is be able to highlight a specific row in this variable. Is this possible?
Here is my code. So let's say if I get to row 5, i want the background to be yellow. How could you do that? WhilePrintingRecords; numbervar array aTrial; numbervar array aFVC; numbervar array aFEV1; numbervar array aPEF; numbervar position; stringvar Result := "";
for position := 1 to 20 do ( if aTrial[position] > 0 then ( Result := Result & chr(13) & totext(aTrial[position],0); ) );
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Posted: 16 Apr 2013 at 5:56am
if you are saying that within the formula editor you want to highlight a row of the code, that is not possible. But in the report you want to highlight every fifth row, that might be possible.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum