Solved

DBstatus

Posted on 1998-12-21
3
189 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
[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
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

696 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