Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement