It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

Help with MS Access and Visual Basic

Moderator: dafunkymunky

Help with MS Access and Visual Basic

Postby sanjon on Wed Jan 19, 2011 8:20 am

Hello,

I have just started using databases, but I am totally stuck. I made a database and table using MS Access. The table has three columns. ID, Code, and Letter. Basically, the Code column stores a number for each letter (eg. 1 = A, 2 = B, 3 = C, etc.)

Table:

|ID|Co|Le|
| 2| 1| A|
| 3| 2| B|
| 4| 3| C|
etc.

This table is just for reference for my program, and I don't need to change any values. But I need a step by step guide to link this table to VB 2010 and convert the values of the table to an array. For example: convert the table into the array "example" which means that example(1) = A, example(2) = B, example(3) = C and so on. I hope you get what I mean.

Sorry if I missed something totally obvious, but like I said I just started with this today. Thanks a lot!
sanjon
 
Posts: 40
Joined: Sun Dec 05, 2010 6:20 pm

Who is online

Users browsing this forum: No registered users and 1 guest