General information
Title:
SetAll with form property
When I run the following code from the form's Init(),
it works as expected:
thisform.grd_lvl2.SetAll("dynamicbackcolor",;
"IIF(table.field < 100,RGB(255,0,0),RGB(255,255,255))","Column")
However, when I try to check a form property or even a
variable like follows:
xxx = .T.
thisform.grd_lvl2.SetAll("dynamicbackcolor",;
"IIF(xxx=.T.,RGB(255,0,0),RGB(255,255,255))","Column")
I get the following error message:
Expression is Invalid. Use a valid expression
for DYNAMICBACKCOLOR property.
All I want to do is check that the user wants to see the
dynamic backcolor (thisform.turnoncolor = .T.) and the
table.field value is greater than 100.
What am I doing wrong?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only