Results 1 to 3 of 3

Thread: How to get data from access into textboxes in vb6?

  1. #1

    Thread Starter
    Hyperactive Member Joye's Avatar
    Join Date
    Jul 2009
    Posts
    256

    How to get data from access into textboxes in vb6?

    Hi everyone
    I'm using ADO to automate access 2003 and I know how to get the data into textboxes only from one Field at a time.

    I need to get data from one single cell to one single textbox at once like in this example:

    DataBase:



    and this is my form:


    and it should look like below after I click on the (get data from data base) button:


    I hope it's clear for everyone.

    I really need help with this and i made it with pictures to make it easier

    Thank you in advance
    Joye
    Last edited by Joye; Mar 10th, 2010 at 11:36 PM.

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: How to get data from access into textboxes in vb6?

    What if there are more data than textboxes?

    You could try several ways
    -You say that you know how to get the data into textboxes only from one Field at a time,
    then do it that way.
    Get data, fill one text box, get next data fill next text box and so on...

    -Or use a datagrid control or a flexgrid control even a listview control

  3. #3

    Thread Starter
    Hyperactive Member Joye's Avatar
    Join Date
    Jul 2009
    Posts
    256

    Thumbs up Re: How to get data from access into textboxes in vb6?

    Quote Originally Posted by jggtz View Post
    -Or use a datagrid control or a flexgrid control even a listview control
    Thank you for your tips I started learning and trying FlexGrid and guess what?
    It seems to be fixing the problem
    ON MY WAY to solve it so soon...

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