Solved

DBstatus

Posted on 1998-12-21
3
185 Views
Last Modified: 2010-05-03
Hello experts,

I'm working with a database application and are specifying readonly as false. I would like to change this to True in runtime. I can't get it to work.
I use .MDB files.

Regards
0
Comment
Question by:soft4u
3 Comments
 
LVL 3

Expert Comment

by:jjbyers
ID: 1451747
How are you connecting to the database, ADO, DAO, Datacontrol?

Thanks
jjb
0
 

Author Comment

by:soft4u
ID: 1451748
I use Datacontrol.


0
 
LVL 1

Accepted Solution

by:
advancefiber earned 50 total points
ID: 1451749
By using data control, you need to close the form which the control resides on and terminate the reference by:

Set myForm = Nothing

Then re-load it again with ReadOnly = True


0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vb.net 2008 2 60
VBA to copy paste columns form one file to other 20 88
using Access 8 68
Adding to a VBA? 6 70
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

810 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