Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access database locking after scheduled event

Status
Not open for further replies.

davejoyce

Programmer
Jun 26, 2000
29
US
I have a scheduled event that occurs once per day. It executes the following code:<br><br>&lt;cfoutput&gt;<br>&lt;cfloop query=GetStatusData&gt;<br>&lt;CFSET nWeek = #DateDiff(&quot;WW&quot;, Start_Date, Now())# + 1&gt;<br>&lt;CFQUERY DATASOURCE=&quot;AFSM_GeneralArchive&quot;&gt;<br>INSERT INTO StatusSnapshot_tbl (SnapshotDate, Plant, nweek, status, statusdate)<br>Values '#szDate#', '#Plant#', '#nWeek#', <br>'#Status#', '#Status_Date#') <br>&lt;/cfquery&gt;<br>&lt;/cfloop&gt;<br>&lt;/cfoutput&gt;<br><br>After this event occurs, the AFSM_GeneralArchive table stays locked. (.ldb file exists). Any Ideas??<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dave Joyce<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top