Hi
I wont to fill a dbgrid by code. I don’t wont to use data control.
I try this but didn’t work
rs.MoveLast
RCount = rs.RecordCount
rs.MoveFirst
For i = 0 To Rc
DBGrid1.Row = i
DBGrid1.Col = 1
Me.DBGrid1.Text = rs!myField
Next i
_____________________
Please help me
Thanks
I wont to fill a dbgrid by code. I don’t wont to use data control.
I try this but didn’t work
rs.MoveLast
RCount = rs.RecordCount
rs.MoveFirst
For i = 0 To Rc
DBGrid1.Row = i
DBGrid1.Col = 1
Me.DBGrid1.Text = rs!myField
Next i
_____________________
Please help me
Thanks