|
-
July 13th, 2010, 01:37 AM
#17
Re: couldn't lock file
The function which give us the name looks like this:
........
long codes = atol(sta_code);
CString sta;
if (codes == 0)
return "";
CStatiiSet RstStatii;
RstStatii.m_strFilter.Format("CODSTA = %ld",codes);
if (!RstStatii.IsOpen()) //varianta pt. OpenTable (OLE)
RstStatii.Open(dbOpenSnapshot);
RstStatii.Requery();
sta=RstStatii.m_DENSTA;
RstStatii.Close();
return sta;
....
The user is admin on the machine. The mdb was removed and reinstalled. I could open the mdb and it was ok. Yesterday afternoon the app worked ok on the same long path. This morning it did not work. So, what can it be?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|