[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

DBstatus

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
soft4u
Asked:
soft4u
1 Solution
 
jjbyersCommented:
How are you connecting to the database, ADO, DAO, Datacontrol?

Thanks
jjb
0
 
soft4uAuthor Commented:
I use Datacontrol.


0
 
advancefiberCommented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now