Results 1 to 2 of 2

Thread: Getting data into a listbox

  1. #1

    Thread Starter
    Addicted Member kalicki's Avatar
    Join Date
    Mar 2001
    Location
    Orlando, Florida
    Posts
    134

    Getting data into a listbox

    I have a standard data control, and I can't figure out how to get the info produced after a query to show up in it...

    Any help is appreciated,
    Bryan Kalicki

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    where is the query from?? are you using ado to create a recordset??? if so here is the code to load the rs field into a list box

    do until rs.eof
    ListBox.additem rs("fieldname")
    rs.movenext
    loop

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