What is the best way of using data from MS Access databases across a multiple form Visual Studio Project

Posted on 2009-05-04
Last Modified: 2013-11-26
I would like some suggestions about the best way of using the data from Access Databases across multiple pages in a Visual project.  If I use the Data Access wizards from each page in the project, the transactions become messy between pages. Would it be best to have a Global Module that handles the transactions?  Any links to code that would help me would be greatly appreciated.

Question by:brianhere
LVL 15

Expert Comment

ID: 24301240
What version vb6 or
LVL 48

Expert Comment

ID: 24302092
What version vb6 or
"from Access Databases across multiple pages in a Visual project"
Can you describe more what you want ?
LVL 15

Expert Comment

ID: 24302124

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.


Author Comment

ID: 24320419
The software used is VB.Net 2008.  I haven't the experience yet of using databases in visual without using the data wizards that connect to the access databases and configure all the necessary code automatically. The problem is that I have multiple pages that can be open at the same time in my project that access the same data, and because the data wizard codes the data access to each page, I have the problem of data being changed on one page not accessible immediately in the other pages.  Ideally if I could have a global data access module across the whole project that is updateable from multiple pages and other modules I could be sure of data integrity.

I just don't know of a way I can do this

Any help appreciated
LVL 15

Expert Comment

ID: 24321448
Is this ASP or windows form?

Author Comment

ID: 24322364
This is multiple window forms that will be open simultaneously.

Accepted Solution

nirojexpert earned 125 total points
ID: 24418270
obviously make a module for retrieving and setting data and then use that module as the gateway for all of your forms.
the baisc logic is not to have many instances of same or similar code.

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Different Delete Messages 7 37
Replace &lt; with < 14 54
Advice on Xojo as a development tool over VB. 4 31
Entity Framework 7 27
Flash ( has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

932 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now