Mukesh2375
Programmer
I created a DataGrid on a form using a recordsource.
on clicking on the grid i invoke a form where i accept some inputs that update the recordset in the DataGrid. In order to refresh the DataGrid I called
rs.Update
rs.Resync adAffectCurrent, adResyncAllValues
rs.SetupGrid.Requery
but this changes the width of columns of the DataGrid I have created. What should i do to refresh the data in the DataGrid so that the appearance (i mean width of columns) of the DataGrid do not change.
Mukesh
on clicking on the grid i invoke a form where i accept some inputs that update the recordset in the DataGrid. In order to refresh the DataGrid I called
rs.Update
rs.Resync adAffectCurrent, adResyncAllValues
rs.SetupGrid.Requery
but this changes the width of columns of the DataGrid I have created. What should i do to refresh the data in the DataGrid so that the appearance (i mean width of columns) of the DataGrid do not change.
Mukesh