Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid control source question
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00427504
Message ID:
00427511
Views:
22
>>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
Map
View

Click here to load this message in the networking platform