General information
Category:
Forms & Form designer
>>
>>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
Previous
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