Ms Access 2007 Error 3027
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 20 Oct 2016 21:08:41 GMT by s_wx1011 (squid/3.5.20)
first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit cannot update. database or object is read-only access 2007 from the selection below. Results 1 to 7 of 7 Thread: How do I fix Run-Time
Cannot Update. Database Or Object Is Read-only Excel
Error 3027? Tweet Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode cannot update. database or object is read-only ssis excel Switch to Threaded Mode 09-09-11,09:32 #1 Ari Potter View Profile View Forum Posts Registered User Join Date Sep 2011 Posts 19 Unanswered: How do I fix Run-Time Error 3027? Good Morning, One of my databases is experiencing the "gremlin effect". http://answers.microsoft.com/en-us/msoffice/forum/msoffice_access-mso_winother/access-2010-runtime-error-3027/acc42082-e1e2-4971-9bfc-94a3c6ed305e It was working fine yesterday until this morning. For some reason the backend of my database is in a "read-only" mode. The database is not locked, and no one is in it. (except right now I am because I'm trying to figure out stuff). What happens is we have users who need to submit requests to a central database. The On-Click event of the submittal form opens up the backend table, and then the code adds the request to the http://www.dbforums.com/showthread.php?1669870-How-do-I-fix-Run-Time-Error-3027 table. The users who work off of this information are in a separate database. Their database is totally locked down right now. No one can type in it, alter it, etc. I can go in and alter code, but it doesn't stop the fact that no one can work on their requests right now. This is the code that opens the table to submit the information Code: Dim rsRequest As Object Set rsRequest = CurrentDb.OpenRecordset("Split-Merge - Request table") rsRequest.AddNew There are more lines of code after this but this is where the debugger stops it at the "rsRequest.AddNew" line, and I get the Run-Time Error 3027. Any ideas as to how I'm supposed to unlock this table that doesn't appear to be locked? Thanks bunches!! Ari Reply With Quote 09-09-11,10:20 #2 Sinndho View Profile View Forum Posts Moderator Join Date Mar 2009 Posts 5,440 Provided Answers: 14 1. Backup Database (in the File Menu). This will create a new compacted database that hopefully should not be locked. Check and if it works, discard the original database and rename the backup. 2. Compact and Repair (in the Tools Menu). This basically performs the same operations as a backup, but does not produce a new file (a temporary file is used, that is deleted at the end of the operation). I prefer the first method: I find the Compact and Repair operation a little risky. 3. If both methods abo
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://stackoverflow.com/questions/21352784/how-to-interpret-database-updatable-property-error-3027-cannot-update-data site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How cannot update. to interpret Database “Updatable” property/Error (3027). Cannot update. Database or object is read-only up vote 0 down vote favorite One of my users (running Windows 7 64bit) has reported that she gets the following error message when starting my application: basApplicationTitle.SetStartupProperty on line 410 Error (3027). Cannot update. Database or object is read-only The offending code is: Private Function SetAppTitle(pstrRpValue As String) As Boolean cannot update. database 390 On Error GoTo PROC_ERR Dim dbsDb As DAO.Database Dim prp As DAO.Property 400 Set dbsDb = CurrentDb() 405 SetAppTitle = False ' Set the Application Title property value. 410 dbsDb.Properties("AppTitle") = pstrRpValue '<= the line that triggers the error 420 SetAppTitle= True PROC_EXIT: 430 Set dbsDb = Nothing 440 ProcPop 450 Exit Function PROC_ERR: 460 Select Case Err.Number Case 3270 'Property not found; create it and try again. 470 Set prp = dbsDb.CreateProperty("AppTitle", dbtest, pstrRpValue ) 480 dbsDb.Properties.Append prp 490 Resume 500 Case Else 510 SetStartupProperty = False 520 LogError 'Report the error 530 End Select 540 Resume PROC_EXIT 550 Resume End Function I'm assuming she hasn't got access to update one of either the backend or frontend database and I need to test for this when opening the frontend and connecting the backend. Question 1: Does the property currentdb().updatable check both the frontend AND backend or do I need to test independently? Question 2: Is currentdb().updatable a sufficient test? Question 2: What guidance can I provide in an error message -- I'm assuming that checking the files for the read-only attribute is one thing. Is there a ques