A1VBCode Forums

NEWBIE: data source problems


By hensleyj - 5/21/2016

Hey everyone,

I recently switched from VBA to VB and it is quite a leap. I am setting up a contacts database at work and while i can link am ACCESS database as the data source, it will only look at 1 line at a time.

What i am trying to do is, have 2 rows of texts boxes. The first row contains names, the second row contains phone numbers.

I cant seem to make the 2nd, 3rd, 4th, 5th etc etc text boxes refer to the 2nd, 3rd, 4th, 5th line in the access data base.

They all refer to the first line only. Each line does have an ID number, but i cant seem to work out how to do alter the line references in visual studio 2015

In the second row of text boxes with the phone numbers, i am trying to get that to do the same thing.

I know this may seem simple, i seriously only switched from VBA today. ANy help would be appreciated Smile
By zack - 5/21/2016

Are you using the older VB6 or VB.net? I see you posted in the VB6 section.