Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 22nd, 2008, 11:52 PM
Authorized User
 
Join Date: Mar 2008
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default Automation problem when I moved to 2007

I use VBA Automation to add and modify rows in a table in an Access 2003 (MyData.mdb) database file. The VBA compliant program that writes to the database is called RSView.

When I used Access 2003 I could have an instance of Access open and be working on the database and without it interfering at all with RSView appending or modifying records.

After installing Access 2007, I cannot work on the database without interfering with the automation. The RSView VBA routine throws this exception:

“Error -2147467259: The database has been placed in a state by user 'Admin' on machine 'D2VW9DH1' that prevents it from being opened or locked."

I reduced macro security so that they can run without prompting, and I went into the trust center and made the folders used by RSView trusted locations. The problem is still present. I do not need any security or restrictions at all, none are needed, and I’d like to get rid of this problem. Can you help?


 
Old October 17th, 2008, 08:46 AM
Authorized User
 
Join Date: Jan 2006
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i wont mind u explaining better,but for now i will suggest u place d 2 applications in the trusted centre.

i have based this suggestion on the assumption that the vba complanit program is access,if not let me know,keep the seceurity level low.get back to me explaining further the codes used to add/alter tables,the location of the tables(mytable.mdb)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Object Moved to Here r_ganesh76 General .NET 2 October 14th, 2009 01:12 AM
Dropdown problem in excel 2007 Aker Excel VBA 1 October 31st, 2008 11:49 AM
Not Responding Problem 2007 mateenmohd Access 0 May 19th, 2008 03:12 AM
Sharepoint 2007 - Shared Services Provider problem MarkS_ORS SharePoint Admin 0 August 17th, 2007 06:53 AM
Chapter 8... moved? webmeister BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 26th, 2004 03:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.