General information
Category:
Forms & Form designer
>>I have a grid, which is based on table. The col2 , is readonly col. and that col2 is actually string manipulation of fields 2,3 and 4 of a table.
>>
>>How would I do this ?
>Satya,
>You mean you want to show something like ie :
>substr(columns(2).value,1,3)+substr(columns(3).value,4,7) ?
>If so, you set controlsource to be manipulated field expression. That column is a "calculated value" and readonly by default (you cannotmake it RW).
>Cetin
Exactly the same way.
the col2 , control source is like that, but, I have a very long method of writing that code.
eg :
if col(2)).value = 'A' then
column2.controlsource = 'Attribute' + str(col 3) + ..blah blah
else
blah
blah
endif
Where should I write this code (I mean in what method or event)
for that column ?
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