Learning is not attained by chance, it must
be sought for with ardor and diligence.
-Abigail Adams
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  


Visual Basic Forum
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

This forum is for the discussion of Visual Basic programming and development.

Click Here To Subscribe to this forum and receive an email update whenever new posts are added, just scroll down to the bottom of this page and enter your email address in the comment form.

Permanent Link
Keywords: vb forum visual basic
Post New Topic

Read Databases and VB by Eddie @ 3/29/2015
I just have a question about what the best approach would be for a project I want to work on since I've never worked with access or databases.

Essentially I want to create a database and have a program written in vb (using express 2013) pull data from the database and display a lot of that info based on users filtering or searching for something specific.

I know I can create a database directly in visual studio and I just started watching your Access tutorials but I don't know what the advantages of one over the other is and how easy it is to work with each one. I've used LINQ queries briefly in vb and I saw you can create a query incredibly easy in Access from your video. Can you export those queries to a vb program or get the code for the queries from Access?

I want to have a list box that's populated with data from a field (lets say name), then when the user selects a name in the listbox it displays other specified data associated with that name, similar to how you filtered the results based on state and had it only display the first and last name.

I guess my question is if I create everything using Access, including queries and all this stuff, would I be able to move everything into a VB program? Or would it be easier to just do everything (including the database creation) inside of visual studio? In the end I want to distribute this to others so I don't want something that will require Access to use.

Thanks in advance

Reply from Alex Hedley:

I show a quick way of connecting to an Access db in .NET
Here you can build the SQL string dynamically or you could add filters to the grid based on your selections.
You can connect the db in .net and have it in your connections tab and work with it directly with the gui.
Show Just This Thread        Post Reply

Collapse All Topics


Post Your Comments or Subscribe
    If you would like to be notified of new posts on this forum,
    just enter your email address below. It will be kept private.
If you just want to subscribe to get email updates when this forum is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
  Your Name:  Required
  Your Email:  NOT Public


Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 3+3:
  Notify me when the this forum is updated
  Remember Me for my next comments
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard



Visual Basicindex
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
About Us
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Gift CDs
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP