Solved

VB 6.0 Access 2.0 Record Locking error

Posted on 2004-08-05
1
140 Views
Last Modified: 2010-05-02
I am using VB 6.0 and Access 2.0.

The first app in locks the database and keeps it locked.

I am looking for the right combo of VB 6.0, DAO etc. to make this environment work.
0
Comment
Question by:Idarac
1 Comment
 
LVL 14

Accepted Solution

by:
Matti earned 500 total points
ID: 11729781
Hi!

When you open the database use options False, False
first False means exclusive and second read-only

dim db as database
Set db = Opendatabase(App.path &"\my.mdb", False,False)

Matti
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

757 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

21 Experts available now in Live!

Get 1:1 Help Now