473,395 Members | 1,701 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,395 software developers and data experts.

Attempting to close form - ... will reset the current code in break mode...

An Access database connected to a PostgreSQL back-end. Sometimes, when I
close a form, i get a message saying that the action will reset the current
code in break mode. The front-end literally has has no code! I've tried
various repair techniques, but the problem always returns.

When this happens, if I say yes to reset the code, the message reappears.
If I say no, nothing happens. Either way, the form won't close. If I try
to close Access, either it hangs, and I have to kill it with Task Manager,
or it crashes and asks if I want to send an error report to Microsoft.

Has anyone else seen anything like this?
Nov 12 '05 #1
1 4987
no****@nospam.nospam (Steve Jorgensen) wrote in
<77********************************@4ax.com>:
An Access database connected to a PostgreSQL back-end. Sometimes,
when I close a form, i get a message saying that the action will
reset the current code in break mode. The front-end literally has
has no code! I've tried various repair techniques, but the
problem always returns.

When this happens, if I say yes to reset the code, the message
reappears. If I say no, nothing happens. Either way, the form
won't close. If I try to close Access, either it hangs, and I
have to kill it with Task Manager, or it crashes and asks if I
want to send an error report to Microsoft.

Has anyone else seen anything like this?


Yes. This seems to be code corruption. I was able to fix it by
saving the form under a new name and setting HasModule to FALSE.
Then this new form worked.

I'm pretty sick of A2K and the way it interacts with code. The
other day I wasted about an hour trying to find out why a form was
erroring out on a RecordsetClone.RecordCount of a subform. It turns
out that I'd altered the queries in the underlying recordsource of
the subform such that the join field no longer existed on one side
of a join in the recordsource. This did not produce the kind of
error such a problem generates in A97. It produced other errors
that took me a long time to track down.

I've also had all sorts of problems with code executing that would
not allow me to close forms (I guess I was in an endless loop, as
in the example above), and have had to kill the A2K process with
Task Manager dozens and dozens of times. I've almost never had to
do this with A97.

It's pretty frustrating.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #2

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

Similar topics

12
by: Roger Price | last post by:
Thank you to Yang (Is that your first name?) and Andy for your suggestions. I am 99% of the way there but now cannot get the "Reset" button to work. I have included the whole of my code and...
2
by: iwasinnihon | last post by:
I don't usually like to do this, but I need help. I have gone over this code and cannot figure out why it doesn't work. First of all it doesn't check to see if you have filled in the required...
4
by: Andras Gilicz | last post by:
Hi VB fans I'm working on a relatively large project in VB6 with about a dozen forms, including graphs, labels, text boxes, etc. The software itself is actually a flow simulator with more or...
13
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div...
4
by: Yasutaka Ito | last post by:
Hi, As you know, all the non-ui components (like Timer control, etc.) that sit on the form are contained in its private variable 'components'. How can I enumerate such components from any form...
5
by: Codeman II | last post by:
Hi there, I am building a form where the user must upload a picture and fill in his details. Now I have a problem as all of this is on the same form. How will I be able to have the Browse...
10
by: morangolds | last post by:
Hi, I've been having a problem with C++ Windows Forms apps not "ending" when you close the form window. I've searched about this problem all over the place and most searches have lead me to...
1
by: hotrod57 | last post by:
I am trying to append the results from a form to a text file. My code is supposed to print out the results on one page, and append the results to another page each time data is entered on the form...
61
by: bonneylake | last post by:
Hey Everyone, Well after asking many questions i have this almost working. This is how it works. Basically i fill in my customer number field an that populates my drop down box. Once i select...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.