473,387 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Strange Error Message Follow-up

Hello, all -

A few days ago, I posted the following message -

Hello all, and thank you for your help in the recent past.

Got a new error message in the last few days.

While working with different sized tables, in datasheet view, I've
gotten this message -

"THIS ACTION WILL RESET THE CURRENT CODE IN BREAK MODE."

There's a "Yes/No" message box. The choices are -

"To halt the execution of the program so the Module window can be
closed, select 'Yes'."
"To leave the code in the current state, select No".

I get the message when I try to close the datasheet view, either to go
to the Design View or to close it altogether. Pressing "Yes" does
nothing. The message box stays open and won't close. Pressing "No" gets
rid of the message box, but trying again to close the table brings the
message box back.

The only way to close the table is with Ctrl-Alt-Delete, and then
closing MSACCESS.EXE. Reopening the database and the same table reproduces
the error.

Some of the tables in question are large (6000 records, 18 fields), some
are small (300 records, 6 fields). I don't have any other forms open, so I
don't know what code is being described.

Any thoughts out there? TIA

A reply suggested creating a new database and importing the tables from the
old to the new. I was in the process of copying and pasting a table called
"tblTitleInfo" from the old to the new database when I discovered that the
"new" database thinks that it already has a table by that name, even though
the title does not appear in the container. It told me that there was
already a table by that name and asked me to confirm my desire to replace
the existing copy. I clicked "Yes" and got the following error message -

"The database engine could not lock table 'tblTitleInfo' because it is
already in use by another person or process."

Clicking "Help" at that point brings up a blank window with "Microsoft
Access" in the title bar - no help system.

I continued to copy tables, queries, forms and reports until I was done. I
closed both the old and new databases, re-opened the new database and
discovered that the forms, queries and reports had been lost. I then tried
to re-create the relationships and got the error about not being able to
lock the table 'tblTitleInfo'.

I'm totally befuzzled, and I don't have enough experience to try to sort
this out on my own. I have checked the Knowledge Base and came up with a fix
for a situation where a certain version of the Vbe6 DLL (I think) was used.
I do not have that version, thus I didn't try it.

Any thoughts? TIA, again.
Steve E.
(20 years without a beer. Startin' to think I might blow that in the very
near future.)

Nov 12 '05 #1
3 1719
Serious Practitioner,
Sounds like Access crashed with locks on some of the objects. The message
you got typically occurs when some code is interrupted because a variable
name or some other important bit has had its definition changed and VBA
can't continue. Ask Access to do a compact & repair and see if that cleans
up the locks that were left in the file. There is a utility called jetcomp
on the TechNet download site that will sometimes compact & repair jet
databases that seem to be ireperably damaged. And . . . your problem is
yet another reason why frequent backups of critical data & code are crucial.

"Serious_Practitioner" <Se************************@att.net> wrote in message
news:aE*********************@bgtnsc05-news.ops.worldnet.att.net...
Hello, all -

A few days ago, I posted the following message -

Hello all, and thank you for your help in the recent past.

Got a new error message in the last few days.

While working with different sized tables, in datasheet view, I've
gotten this message -

"THIS ACTION WILL RESET THE CURRENT CODE IN BREAK MODE."

There's a "Yes/No" message box. The choices are -

"To halt the execution of the program so the Module window can be
closed, select 'Yes'."
"To leave the code in the current state, select No".

I get the message when I try to close the datasheet view, either to go
to the Design View or to close it altogether. Pressing "Yes" does
nothing. The message box stays open and won't close. Pressing "No" gets rid of the message box, but trying again to close the table brings the
message box back.

The only way to close the table is with Ctrl-Alt-Delete, and then
closing MSACCESS.EXE. Reopening the database and the same table reproduces the error.

Some of the tables in question are large (6000 records, 18 fields), some are small (300 records, 6 fields). I don't have any other forms open, so I
don't know what code is being described.

Any thoughts out there? TIA

A reply suggested creating a new database and importing the tables from the old to the new. I was in the process of copying and pasting a table called
"tblTitleInfo" from the old to the new database when I discovered that the
"new" database thinks that it already has a table by that name, even though the title does not appear in the container. It told me that there was
already a table by that name and asked me to confirm my desire to replace
the existing copy. I clicked "Yes" and got the following error message -

"The database engine could not lock table 'tblTitleInfo' because it is
already in use by another person or process."

Clicking "Help" at that point brings up a blank window with "Microsoft
Access" in the title bar - no help system.

I continued to copy tables, queries, forms and reports until I was done. I
closed both the old and new databases, re-opened the new database and
discovered that the forms, queries and reports had been lost. I then tried
to re-create the relationships and got the error about not being able to
lock the table 'tblTitleInfo'.

I'm totally befuzzled, and I don't have enough experience to try to sort
this out on my own. I have checked the Knowledge Base and came up with a fix for a situation where a certain version of the Vbe6 DLL (I think) was used. I do not have that version, thus I didn't try it.

Any thoughts? TIA, again.
Steve E.
(20 years without a beer. Startin' to think I might blow that in the very
near future.)


Nov 12 '05 #2
Alan -

Thank you for your reply. I'll try both of your suggestions a bit later
tonight, and let you know how they work out.

Steve E.

"Alan Webb" <kn*****@hotmail.com> wrote in message
news:xV*****************@news.uswest.net...
Serious Practitioner,
Sounds like Access crashed with locks on some of the objects. The message
you got typically occurs when some code is interrupted because a variable
name or some other important bit has had its definition changed and VBA
can't continue. Ask Access to do a compact & repair and see if that cleans up the locks that were left in the file. There is a utility called jetcomp on the TechNet download site that will sometimes compact & repair jet
databases that seem to be ireperably damaged. And . . . your problem is
yet another reason why frequent backups of critical data & code are crucial.
"Serious_Practitioner" <Se************************@att.net> wrote in message news:aE*********************@bgtnsc05-news.ops.worldnet.att.net...
Hello, all -

A few days ago, I posted the following message -

Hello all, and thank you for your help in the recent past.

Got a new error message in the last few days.

While working with different sized tables, in datasheet view, I've
gotten this message -

"THIS ACTION WILL RESET THE CURRENT CODE IN BREAK MODE."

There's a "Yes/No" message box. The choices are -

"To halt the execution of the program so the Module window can be
closed, select 'Yes'."
"To leave the code in the current state, select No".

I get the message when I try to close the datasheet view, either to go to the Design View or to close it altogether. Pressing "Yes" does
nothing. The message box stays open and won't close. Pressing "No"

gets
rid of the message box, but trying again to close the table brings the
message box back.

The only way to close the table is with Ctrl-Alt-Delete, and then
closing MSACCESS.EXE. Reopening the database and the same table

reproduces
the error.

Some of the tables in question are large (6000 records, 18 fields),

some
are small (300 records, 6 fields). I don't have any other forms open, so I don't know what code is being described.

Any thoughts out there? TIA

A reply suggested creating a new database and importing the tables from

the
old to the new. I was in the process of copying and pasting a table called "tblTitleInfo" from the old to the new database when I discovered that the "new" database thinks that it already has a table by that name, even

though
the title does not appear in the container. It told me that there was
already a table by that name and asked me to confirm my desire to replace the existing copy. I clicked "Yes" and got the following error message -

"The database engine could not lock table 'tblTitleInfo' because it is already in use by another person or process."

Clicking "Help" at that point brings up a blank window with "Microsoft
Access" in the title bar - no help system.

I continued to copy tables, queries, forms and reports until I was done. I closed both the old and new databases, re-opened the new database and
discovered that the forms, queries and reports had been lost. I then tried to re-create the relationships and got the error about not being able to
lock the table 'tblTitleInfo'.

I'm totally befuzzled, and I don't have enough experience to try to sort
this out on my own. I have checked the Knowledge Base and came up with a

fix
for a situation where a certain version of the Vbe6 DLL (I think) was

used.
I do not have that version, thus I didn't try it.

Any thoughts? TIA, again.
Steve E.
(20 years without a beer. Startin' to think I might blow that in the very near future.)



Nov 12 '05 #3
Good morning -

As you suggested, I got and used the right version of Jetcomp, and I also
tried to run compact and repair a couple of times. I think that the compact
and repair process doesn't fully complete - there's a little progress bar in
the lower left area of the status bar that gets about halfway done, and then
stalls. It doesn't keep me from closing the database, it just stops. So that
seems to be out. Similarly Jetcomp, which seemed to run OK but made no
changes.

So is my next step to rebuild this database by hand? If so, if I export the
content only of the tables, will that avoid moving the "frozen" locks into a
new DB? Evidently the backup I have is also afflicted with this same
problem - I must have made a copy before I realized what was going on.

Thanks again.
Steve E.


"Alan Webb" <kn*****@hotmail.com> wrote in message
news:xV*****************@news.uswest.net...
Serious Practitioner,
Sounds like Access crashed with locks on some of the objects. The message
you got typically occurs when some code is interrupted because a variable
name or some other important bit has had its definition changed and VBA
can't continue. Ask Access to do a compact & repair and see if that cleans up the locks that were left in the file. There is a utility called jetcomp on the TechNet download site that will sometimes compact & repair jet
databases that seem to be ireperably damaged. And . . . your problem is
yet another reason why frequent backups of critical data & code are crucial.
"Serious_Practitioner" <Se************************@att.net> wrote in message news:aE*********************@bgtnsc05-news.ops.worldnet.att.net...
Hello, all -

A few days ago, I posted the following message -

Hello all, and thank you for your help in the recent past.

Got a new error message in the last few days.

While working with different sized tables, in datasheet view, I've
gotten this message -

"THIS ACTION WILL RESET THE CURRENT CODE IN BREAK MODE."

There's a "Yes/No" message box. The choices are -

"To halt the execution of the program so the Module window can be
closed, select 'Yes'."
"To leave the code in the current state, select No".

I get the message when I try to close the datasheet view, either to go to the Design View or to close it altogether. Pressing "Yes" does
nothing. The message box stays open and won't close. Pressing "No"

gets
rid of the message box, but trying again to close the table brings the
message box back.

The only way to close the table is with Ctrl-Alt-Delete, and then
closing MSACCESS.EXE. Reopening the database and the same table

reproduces
the error.

Some of the tables in question are large (6000 records, 18 fields),

some
are small (300 records, 6 fields). I don't have any other forms open, so I don't know what code is being described.

Any thoughts out there? TIA

A reply suggested creating a new database and importing the tables from

the
old to the new. I was in the process of copying and pasting a table called "tblTitleInfo" from the old to the new database when I discovered that the "new" database thinks that it already has a table by that name, even

though
the title does not appear in the container. It told me that there was
already a table by that name and asked me to confirm my desire to replace the existing copy. I clicked "Yes" and got the following error message -

"The database engine could not lock table 'tblTitleInfo' because it is already in use by another person or process."

Clicking "Help" at that point brings up a blank window with "Microsoft
Access" in the title bar - no help system.

I continued to copy tables, queries, forms and reports until I was done. I closed both the old and new databases, re-opened the new database and
discovered that the forms, queries and reports had been lost. I then tried to re-create the relationships and got the error about not being able to
lock the table 'tblTitleInfo'.

I'm totally befuzzled, and I don't have enough experience to try to sort
this out on my own. I have checked the Knowledge Base and came up with a

fix
for a situation where a certain version of the Vbe6 DLL (I think) was

used.
I do not have that version, thus I didn't try it.

Any thoughts? TIA, again.
Steve E.
(20 years without a beer. Startin' to think I might blow that in the very near future.)



Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ms.net | last post by:
I am writing application using Access Database.... Everything work on my PC. update, add,or delete. Since the application is multiuser, i put the database on network..... Application start...
25
by: Neil Ginsberg | last post by:
I have a strange situation with my Access 2000 database. I have code in the database which has worked fine for years, and now all of a sudden doesn't work fine on one or two of my client's...
6
by: Edd Dawson | last post by:
Hi. I have a strange problem involving the passing of command line arguments to a C program I'm writing. I tried posting this in comp.programming yesterday but someone kindly suggested that I'd...
4
by: Abhishek Srivastava | last post by:
Hello All, I wrote a program in which I have a OleDbConnection which I open in the contructor and close in the Destructor. When I run the program I get the following error Unhandled...
5
by: John | last post by:
I have created a program that accesses a flat 2 dimensional array and have developed a routine to sum the four neighbors of a specific row/column position. Here is an example, this will sum all...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
7
by: ChrisM | last post by:
I posted this last week, so apologies for re-posting but I'm still looking for a sensible answer, and I'm hoping somone new might be able to cast some light... Basically, I have a fairly...
8
by: mantrid | last post by:
Hello Im having problems working out why the following code does not work. I dont think its the sql as the error occurs on the first update which ever one is put there ($q1 or $q2). Ive swapped...
0
by: tekiegreg | last post by:
Hi there, here is a snippet of my code that I've been getting an error message on, basically what I've been trying to do is pull out appointments, serialize to an object as well as all the contacts...
9
by: Larry | last post by:
I was testing the buffer size of system call, read(), and found a strange error on Ubuntu 7.10 server. The code is attached. If the BUFFSIZE is set to from 128 to 255, the code will produce an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.