?
Solved

Using an Access query to display information in a VB form

Posted on 2003-03-28
3
Medium Priority
?
137 Views
Last Modified: 2010-05-18
I am working on a prject that requires me to display product information from an Acess database on to a VB form. In access I have built some queries and I need to use them in order to display relevent information in a list box on the VB form. The query will be called on the first VB form and the results displayed on a second VB form in a list box. Having never linked an access database to a VB project I am struggling. I have managed to display records on a seperate form and to navigate between them. It is just this query problem that I can't solve. I appriciate any help you can give.

Rob
0
Comment
Question by:RobSimpson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Accepted Solution

by:
Ryan Chong earned 1500 total points
ID: 8224553
Generally, you should able to connection Access via VB by using ADO or DAO and these links will definitely helpful:

http://www.vbcode.com/asp/code.asp?lstCategory=Database
http://www.able-consulting.com/ADO_Conn.htm
http://www.freevbcode.com

cheers
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 8224576
Use the data form wizard to generate a first version of your code and customize it.
0
 

Expert Comment

by:CleanupPing
ID: 8531411
Hi RobSimpson,
This old question (QID 20566351) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question