Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid SETALL command to conditionally output a BMP
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid SETALL command to conditionally output a BMP
Miscellaneous
Thread ID:
00887947
Message ID:
00887947
Views:
62
In the first column of a grid i have a CommandButton. For each row in the grid, I would like to either:

1) set the picture clause to the image if a dollar amt present or leave blank

OR

2) set the column1 CurrentControl value to a textbox (instead of the commandbutton) if no dollar amt.

But i cant get the syntax right. Can grid's do this on a row by row basis?

Something like:
.column1.CmdDollar.picture = 'IIF( v_jobtasks.expinv > 0,"DOLLAR.BMP","" )'
Next
Reply
Map
View

Click here to load this message in the networking platform