Consultor Eletrônico



Kbase P147751: Cannot reset the value of an active cell to unknown (?) when using UltraWinGrid control
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/06/2009
Status: Unverified

SYMPTOM(s):

Cannot reset the value of an active cell to unknown (?)


Error appears when forcing the unknown value with ultragrid1:<activecell>:value=?

Error appears when forcing the unknown value with ultragrid1:rows:item[0]:cells:item[1]:value = ?

Unable to convert from '(null)' to 'System.decimal'


FACT(s) (Environment):

Using UltraWinGrid control

OpenEdge 10.2A
Windows

CAUSE:

This is expected behavior, the unknown value has to be set in the DataSource


FIX:

Modify the code to modify the code from:
ultragrid1:rows:item[0]:cells:item[1]:value = ?.
to:
ultraDatarow1:setcellvalue("value",?).