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
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
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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