Switching 'passing' to 'ytd' as requested, though this is weird.
[capital-apms-progress.git] / inc / rowcol / rcactacx.i
blobc64833a32835012bb4cf30b8e871c2df4bc02229
1 /* rcactacx.i */
2 /* row-display trigger code for account transaction of X browser */
4 IF AVAILABLE(AcctTran) THEN DO WITH FRAME {&FRAME-NAME}:
5 DEFINE VARIABLE fcolor AS INTEGER INITIAL ? NO-UNDO.
7 IF AcctTran.ClosedState = "P" THEN fcolor = 3.
8 ELSE IF AcctTran.ClosedState = "F" THEN fcolor = 2.
10 ASSIGN
11 d-date:FGCOLOR IN BROWSE {&BROWSE-NAME} = fcolor
12 ClosedState:FGCOLOR IN BROWSE {&BROWSE-NAME} = fcolor
13 Reference:FGCOLOR IN BROWSE {&BROWSE-NAME} = fcolor
14 Description:FGCOLOR IN BROWSE {&BROWSE-NAME} = fcolor
15 FirstName:FGCOLOR IN BROWSE {&BROWSE-NAME} = fcolor
16 BatchCode:FGCOLOR IN BROWSE {&BROWSE-NAME} = fcolor
18 END.