Hi all
I am having trouble with MSFLEXGRID 5.
Th grid has 1 column and 7 rows. (It should be able to have more than 7 when required)
When my fillGrid sub is executed, for some reason the grid gets filled in AFTER leaving 7 blank rows. The data is there but I have to scroll down to see it
anyone know how to fix this and make it fill the data from the 1st row.
i tyried grdE.row = 2 ...
but it didnt seem to work
thanks in advance
grdE.Clear
grdE.Row = 2
datEm.Recordset.MoveFirst
Do While datEm.Recordset.EOF = False
grdE.AddItem datEm.Recordset("name")
datEm.Recordset.MoveNext
Loop
PS -- How do I type actual VB code on this page?


Reply With Quote