In access when I click the X, Access does not close

%3CLINGO-SUB%20id%3D%22lingo-sub-3118322%22%20slang%3D%22en-US%22%3EIn%20access%20when%20I%20click%20the%20X%2C%20Access%20does%20not%20close%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3118322%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20access%20when%20I%20click%20the%20X%2C%20Access%20does%20not%20close%3C%2FP%3E%3CP%3EIf%20I%20open%20a%20database%20then%20click%20the%20X%20the%20data%20base%20closes%20but%20not%20access.%3C%2FP%3E%3CP%3EThe%20second%20time%20I%20open%20the%20data%20base%20I%20get%20the%20error%20%E2%80%9CDatabase%20engine%20cannot%20lock%20table.%3C%2FP%3E%3CP%3EThe%20only%20way%20to%20close%20access%20is%20to%20end%20tasks%20in%20the%20task%20manager%3C%2FP%3E%3CP%3EThen%20I%20must%20delete%20the%20locked%20flies%20before%20re%20opening.%3C%2FP%3E%3CP%3EAnd%20I%20can%20only%20open%20it%20once%20before%20re-doing%20the%20same%20process%3F%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3118322%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%20Exit%20problem%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3118465%22%20slang%3D%22en-US%22%3ERe%3A%20In%20access%20when%20I%20click%20the%20X%2C%20Access%20does%20not%20close%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3118465%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eyou%20didn't%20state%20your%20Access%20version%20and%20build%20number.%20If%20your%20are%20on%20the%20latest%20updates%20of%202016%2F19%2F21%2F365%20then%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Faccess%2Faccess-doesn-t-close-properly-a-remaining-background-process-can%2Ftd-p%2F3103807%22%20target%3D%22_blank%22%3Ehave%20a%20look%20at%20this%20thread%20here%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3CFONT%20face%3D%22Verdana%22%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3EServus%3CBR%20%2F%3EKarl%3CBR%20%2F%3E************%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2FwpPYu6G_xcY%2520%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAccess%20News%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.donkarl.com%2Fdevcon%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAccess%20DevCon%3C%2FA%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

In access when I click the X, Access does not close

If I open a database then click the X the data base closes but not access.

The second time I open the data base I get the error “Database engine cannot lock table.

The only way to close access is to end tasks in the task manager

Then I must delete the locked flies before re opening.

And I can only open it once before re-doing the same process??

1 Reply

Hi,

you didn't state your Access version and build number. If your are on the latest updates of 2016/19/21 or 365 then have a look at this thread here.

 

Servus
Karl
************
Access News
Access DevCon