dbTalk Databases Forums  

access2007 - Could not update; currently locked

comp.databases.ms-access comp.databases.ms-access


Discuss access2007 - Could not update; currently locked in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roger
 
Posts: n/a

Default access2007 - Could not update; currently locked - 12-10-2010 , 07:33 AM






occasionally I get the error message
Could not update; currently locked. ,DAO.QueryDef ,3218

strsql = "SELECT * FROM qryPurOpenList WHERE 1 = 2"
Set qdf = CurrentDb.QueryDefs("qryPurOpenListPT")
qdf.SQL = strsql
qdf.Close

qryPurOpenListPT is a passthrough query linked to a sql server 2005 db
strsql is constructed from user selected options, in this case, no
data should be returned, which is correct
this function is used 100 of times daily, and I only see this error a
few times a month

so, is it having problems setting qdf ? or closing after setting SQL ?
how do I tell ?
is it possible for the passthrough query to be in a state where it
can't be modified ?

every user has their own FE that is loaded from a central repository
daily

Reply With Quote
  #2  
Old   
a a r o n _ k e m p f
 
Posts: n/a

Default Re: access2007 - Could not update; currently locked - 01-03-2011 , 06:15 AM






wow.. it sounds to me like using Linked Tables is too complex for what you're trying to do.

Have you considered using Access Data Projects?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.