Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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 ?
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