Access not responding

Gismo

Registered User.
Local time
Today, 10:59
Joined
Jun 12, 2017
Messages
1,298
Hi All,

my DB seems to work fine in all the forms, except for the one form.
opening the form times out, then access closes down and opens up again
any explanation as to why this happens?
i did a compact and repair as well as a debug
 
I found the error
it is in my vb, the me.requery seems to go into a loop
 
Do you have default values declared (including something that asserts values in the Form_Current routine)? I believe that event fires after any time that a dirty record is saved.
 
It has been a while so I'll take your word for that, Pat. An implicit save might indeed evade the event. Though based on a previous project, I thought that a DoCmd action to save the current record (without navigating) nonetheless fired the Current event. Because my forms surely acted as though that happened.
 
Your quote leaves out the "or occurs when the form is opened" which makes it a bit misleading IMHO.
@Pat - say what you will about the lack of info from the OP but admit it when you are incorrect or incomplete and it is pointed out instead of deflecting. Lord knows I have to do that more than I care to admit.
 
just to weigh in :geek:
Your quote leaves out the "or occurs when the form is opened" which makes it a bit misleading IMHO.
this link explains the current event fires when a form is opened

https://support.microsoft.com/en-us...ects-e76fbbfe-6180-4a52-8787-ce86553682f9#bm3

Opening and closing a form
When you open a form, the following sequence of events occurs for the form:

Open
arrow
Load
arrow
Resize
arrow
Activate
arrow
Current
 
CJ, so does Colin's but the quote doesn't drill down that far.

This event occurs both when a form is opened and whenever the focus leaves one record and moves to another. Microsoft Access runs the Current macro or event procedure before the first or next record is displayed.
 
You sound just like those "Black lives matter" protesters who are making the police kneel to them.
Wow. Surprised you would even go there.
I wasn't even snarky.
No, you went straight to insulting instead.
Sorry for what's happened to your thread Gismo. I'm going to unwatch to try to prevent any further soiling of it.
 

Users who are viewing this thread

Back
Top Bottom