General information
Category:
Coding, syntax & commands
>>I have a grid with a recordsource, child order, linkmaster, and relational expr set. I want Column11 to say 'something' if table1.field1 = 'something' else 'somethingelse'.
>>
>>How can i vary the controlsource of the column11?
>Look to VFP samples, there is a sample of grid with column that contains >expression as control sourse. Than use 'iif()' function for your case.
I tried in the column11.controlsource properties:
=iif(alltrim(table1.field1) = 'Principal Reduction', table1.field1, this.parent.parent.prin_int_literal)
but it did not like the this.parent.parent.prin_int_literal field which has a alue of 'Prin/Int Payment'. are the form properities not yet defined?
brenda
Previous
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