Results 1 to 3 of 3

Thread: dblist question!

  1. #1

    Thread Starter
    Fanatic Member spud's Avatar
    Join Date
    Aug 2000
    Location
    Munster (Germany)
    Posts
    542

    Question

    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

  2. #2
    Member
    Join Date
    Jun 2000
    Location
    Perth Western Australia
    Posts
    41

    Cool

    You should be commanding the DataGrid not the DataControl like this..........

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

  3. #3

    Thread Starter
    Fanatic Member spud's Avatar
    Join Date
    Aug 2000
    Location
    Munster (Germany)
    Posts
    542

    Smile

    Thanks for that it works perfectly!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width