Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid control source question
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00427504
Message ID:
00427511
Vues:
20
>>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
Fil
Voir

Click here to load this message in the networking platform