If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Chit Chat > VB5 linking to an Access database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-30-03, 13:16
sliwo sliwo is offline
Registered User
 
Join Date: Jan 2003
Posts: 4
VB5 linking to an Access database

Hi

im pretty new to VB programing and im trying to link a VB project to an access database.

I have an access database holding all the required fields with data that i need. instead of having to input all this data again into the VB project im working on id like the VB project to get this data directly from the access database. im working with list boxes and text boxes mainly in that where the click of a command button in the VB project will get the relevant field from the access data base and accordingly edit the text within the text box of the VB project.

like i said im pretty new to VB so any advice would be of great help and much appreciated.

thanks
Reply With Quote
  #2 (permalink)  
Old 02-04-03, 11:06
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
what exactly are you needing? the connectionString to connect the application to the database?
Reply With Quote
  #3 (permalink)  
Old 02-06-03, 16:24
sliwo sliwo is offline
Registered User
 
Join Date: Jan 2003
Posts: 4
i simply have an acess97 database holding all my data with fields such as name, surname, dob, location etc and im wanting for the vb project (which will have text boxes with the same field names as in name, surname, dob etc) to get the data from the access database. instead of inputting all the data into the vb project manually i was hoping i could link the access database to the vb project?

im not exactly sure what you mean by connection string, im assuming the code required to link the two together?
Reply With Quote
  #4 (permalink)  
Old 02-06-03, 17:13
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
I have attached a file that will give you some examples of how to connect the VB app to the database. Hope this helps.
Attached Files
File Type: zip database.zip (29.2 KB, 242 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On