PDA

Click to See Complete Forum and Search --> : dblist question!


spud
Aug 8th, 2000, 06:42 PM
I have a dblist box connected to data1, what i would like to do is when i press a command button the highlited text in the dblistbox moves to the next one down, klick again and move to the next and so on until it has reached to end

I have tryed data1.recordset.movenext it moves the data1 but not the contents of the dblist box.

thanks

Spud

CGTS
Aug 9th, 2000, 07:42 PM
You should be commanding the DataGrid not the DataControl like this..........

Private Sub Command1_Click()
DataGrid1.Row = DataGrid1.Row + 1
End Sub

spud
Aug 9th, 2000, 07:56 PM
Thanks for that it works perfectly!