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

Forms freezing

Pat
I'm having some problems with forms freezing up on me.

I have a front end linked to tables in 2 back ends. Users can open a form
(quotes) which is linked to
a table in be1. while adding a record to this form, the user can open a
form (stations) linked to a table in be2 which will generate a price, text
etc and insert info back into first form (quotes). This works.

The problem is that every so often the user opens the 2nd form in order to
update (change something)
and when he closes it, the 1st form freezes. - all the code runs, the info
on the first form is updated,
no error is generated, but the program is just frozen. you have to close it
(through taskmaster) and restart again in order to get access again.

Could the 2 different back ends be causing this. Does linking to different
be's from the same front end
cause issues?
Apr 26 '06 #1
2 4317
Pat wrote:
I'm having some problems with forms freezing up on me.

I have a front end linked to tables in 2 back ends. Users can open a form
(quotes) which is linked to
a table in be1. while adding a record to this form, the user can open a
form (stations) linked to a table in be2 which will generate a price, text
etc and insert info back into first form (quotes). This works.

The problem is that every so often the user opens the 2nd form in order to
update (change something)
and when he closes it, the 1st form freezes. - all the code runs, the info
on the first form is updated,
no error is generated, but the program is just frozen. you have to close it
(through taskmaster) and restart again in order to get access again.

Could the 2 different back ends be causing this. Does linking to different
be's from the same front end
cause issues?


No, using 2 backends is probably not causing this. Is the problem repeatable?

I'd try using debugging and step through your code. Perhaps there is some type of
unhandled error or an endless loop.

Perhaps one of the forms is corrupted or even the .mdb is corrupted.

Have you tried Compact and Repair (on a backup of your .mdb)?

Things get more drastic from there. You might need to import objects into a fresh .mdb
file or use the undocumented /decompile or the Application.SaveAsText() and
..LoadFromText() calls to remove corruption.

A search of this newsgroup will yield lots of assistance.

--
'---------------
'John Mishefske
'---------------
Apr 26 '06 #2
Pat
The problem does not occur when a new record is created, but if form 2 is
used to update a record
the problem will occur at about 1 or 2 times every 10 times this is done. I
know that all of the
code has executed because the form 1 closes and form 2 refreshes, but the
user just can't access anything on the open form (1). not even the close
window x in the top of the window.

both backends have be compact/repaired. front end also

"John Mishefske" <jm**********@SPAMyahoo.com> wrote in message
news:Wk**************@tornado.rdc-kc.rr.com...
Pat wrote:
I'm having some problems with forms freezing up on me.

I have a front end linked to tables in 2 back ends. Users can open a form (quotes) which is linked to
a table in be1. while adding a record to this form, the user can open a
form (stations) linked to a table in be2 which will generate a price, text etc and insert info back into first form (quotes). This works.

The problem is that every so often the user opens the 2nd form in order to update (change something)
and when he closes it, the 1st form freezes. - all the code runs, the info on the first form is updated,
no error is generated, but the program is just frozen. you have to close it (through taskmaster) and restart again in order to get access again.

Could the 2 different back ends be causing this. Does linking to different be's from the same front end
cause issues?
No, using 2 backends is probably not causing this. Is the problem

repeatable?
I'd try using debugging and step through your code. Perhaps there is some type of unhandled error or an endless loop.

Perhaps one of the forms is corrupted or even the .mdb is corrupted.

Have you tried Compact and Repair (on a backup of your .mdb)?

Things get more drastic from there. You might need to import objects into a fresh .mdb file or use the undocumented /decompile or the Application.SaveAsText() and .LoadFromText() calls to remove corruption.

A search of this newsgroup will yield lots of assistance.

--
'---------------
'John Mishefske
'---------------

Apr 26 '06 #3

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

Similar topics

57
by: Egor Bolonev | last post by:
why functions created with lambda forms cannot contain statements? how to get unnamed function with statements?
0
by: Nick Rogers | last post by:
After about two months of using Visual Basic . NET 2003 Standard, it suddenly started freezing up whenever it tried to display a Windows form inside a project file. All other files, such as HTML...
13
by: Ioannis Vranos | last post by:
Why in this code the form *does not refresh* when it gets the focus/after some time? #using <mscorlib.dll> #using <system.windows.forms.dll> #using <system.dll> #using <system.drawing.dll>
1
by: boB | last post by:
When I try to run a program - any program - my environment all of a sudden starts freezing up. Even an empty solution. It will build, but never run the built program and the GUI won't respond and...
10
by: MaRCeLO PeReiRA | last post by:
Hi All, After PostgreSQL freeze some times, I am moving from 7.3.4 to 7.4.1, trying to solve this problem. When the daemon get frozen, I can't even use psql to browse a database (as if the...
7
by: bearophileHUGS | last post by:
Most of my ideas seem usless or stupid, but I think expressing them here doesn't harm much. This is an idea for Py 3.0, because it's not backward compatible. Dicts and sets require immutable...
6
by: hem | last post by:
Hi, I have the following small program which read password from user after echoing off. But the problem is, it is freezing for some time (not sure about the duration) before going to the next...
0
by: Ivovh | last post by:
Since this morging I have a problem with VS .NET 2005. Evertime when it hits a breakpoint my whole computer freezes. I have to reset it to work again. Before it always worked fine and I didnt do...
2
by: julietmachiwa | last post by:
I purged my database and rebuild indexes. The system has started hanging/freezing. Some Forms are not working & some select statement & Procedures are also not running. All these were OK before. On...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.