Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2009-05-04
7
Medium Priority
?
212 Views
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 Basic.net 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.

Thanks
0
Comment
Question by:brianhere
[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
7 Comments
 
LVL 15

Expert Comment

by:JackOfPH
ID: 24301240
What version vb6 or vb.net?
0
 
LVL 48

Expert Comment

by:jpaulino
ID: 24302092
What version vb6 or vb.net?
@JackOfPH
"from Access Databases across multiple pages in a Visual Basic.net project"
 
 @brianhere,
Can you describe more what you want ?
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 24302124
@jpaulino;

lol
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

Author Comment

by:brianhere
ID: 24320419
The software used is VB.Net 2008.  I haven't the experience yet of using databases in visual basic.net 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
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 24321448
Is this ASP or windows form?
0
 

Author Comment

by:brianhere
ID: 24322364
This is multiple window forms that will be open simultaneously.
0
 
LVL 6

Accepted Solution

by:
nirojexpert earned 500 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.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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 (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

618 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