Solved

multiple database access

Posted on 1998-12-16
2
159 Views
Last Modified: 2010-05-03
How do I make several programs access one open database. I only know when there is one database and one program. i.e opening the database in that program.

I want a case whereby one program will be able to add records to the database whereas one only reads the records.
The simplest solution will do. I am using Visual Basic 4.0.
0
Comment
Question by:serameng
2 Comments
 
LVL 1

Accepted Solution

by:
visual_b earned 100 total points
ID: 1450466
To open a database for read/Write access use:
Set dbWrite = wksmain.OpenDatabase("dbName.mdb", False)
To open a database for Read Only access use:
Set dbRead = wksmain.OpenDatabase("dbName.mdb", False,True)

is this what you need?
0
 

Author Comment

by:serameng
ID: 1450467
I am not sure if what you gave me is what I wanted. but i said I need, like 2 or more applications accessing the same database simultaneously or concurrently for both read and write. I hope I made myself clear.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I need help embedding an image as HTML in my vb.net application 3 73
MsgBox 4 68
Problem to With line 4 63
checkbox to hide entire section 10 42
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

829 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