Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>
>>Chu
>
>You should make above code more sophiticated:
>Local cRecordsource
>With Thisform.Grid1
> cRecordsource=.Recordsource
> .Recordsource=cRecordsource
> .Column1.ControlSource=....
> .ColumnX.ControlSource=....
> .Refresh
>Endwith
I tried this but once I replace the recordsource, the screen will show the number no matter whether I replace the controlsource. However, I have it worked by refresh the combo boxes inside the grid, i.e., I issue the command
thisform.pageframe.page1.grid1.column1.combox1.refresh() for all the combo boxes. Thanks for your help.
Chu
Précédent
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