+ Reply to Thread
Results 1 to 1 of 1

excel vba populate listbox from mysql recordset

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    1

    excel vba populate listbox from mysql recordset

    Hi everyone, what I am trying to do is to populate a listbox from an event trigger from while I write, I have seen it in .net examples like this one over here http://www.youtube.com/watch?v=YbzQbbQJQGg, but it doesn’t work same way in vba excel, and what I trying to do is the same thing is show in the video.

    As you can see in the video the only difference is that I am connecting to a mysql database and the example shows a connection to access database, but the logic is the same as I need for what I want to do.

    If you look after minutes 6 of that video, you can see the programmer implement methods such as AutocompleteCustumSource to populate the text box. That is what I want to do.

    I know that it can be different in vba but I thing I have to deal with a textbox and a listbox at the same time, and build a method that everytime the user types something, it triggers an event to populate the listbox.

    My question is ... am I right trying to do this?, there is anyother way easier of doing this ? Thanks for your help

    I have a code that allows me to query the database.

    the problem I have is that I need the query to perform each time the user types in the textbox.

    I have the following code but it does not work.

    I really appreciate who can help me.

    Please Login or Register  to view this content.
    Last edited by arlu1201; 06-04-2013 at 02:45 PM. Reason: Use code tags in future.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1