Hey,
i've recently began to use dynamic tables, queries and browsers. Now i'm stuck.
In a program with a dynamic table, query and browser i need to set the background colour of a number of fields depending a condition.
I got the handle of the cell, but i can not set teh background colour.
Progress tells me that the background colour of the cell is not setable.
how can i work around this problem?
the code is used is something like this:
G-hField = G-hBuffer:BUFFER-FIELD (STRING (dipa.matnid)).
G-hField:BUFFER-VALUE = L-dQuant.
IF AVAILABLE artk AND
(NOT artk.swactief OR CAN-FIND (artg WHERE artg.frmaid = artk.frmaid
AND artg.modlid = artk.modlid
AND artg.kwalid = artk.kwalid
AND artg.VAR = artk.VAR
AND artg.klrnid = artk.klrnid
AND artg.mdtpid = "ACTIVE"
AND artg.matnid = dipa.matnid
AND artg.prgkost = 0))
THEN ASSIGN G-hField:BGCOLOR = 12.
knowledgebase.progress.com/.../P9248
But that won't be conditional....
Hven't found an option yet (besides to copy temp-table to a uib defined buffer and using a static browse)