473,624 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

When should Activate happen?


I'm working with Access 2K and seem to be getting some behavior that
contradicts the documentation. First, the help says:

"Note The Activate event doesn't occur when a form receives focus back
from a dialog box, popup, or another form."

This doesn't seem to be the case. The form activate consistently fires when
focus moves from another form.

Secondly, the activate event for a report. I am seeing it fire consistently
if I open the report acViewPreview, but never if I open the report
acViewNormal. I can find no mention of this discrepancy in the docs.

Am I missing something here, or are the docs wrong?

Randy
Nov 13 '05 #1
2 2018
On Sat, 07 Aug 2004 02:39:24 GMT, Randy Harris wrote:
I'm working with Access 2K and seem to be getting some behavior that
contradicts the documentation. First, the help says:

"Note The Activate event doesn't occur when a form receives focus back
from a dialog box, popup, or another form."

This doesn't seem to be the case. The form activate consistently fires when
focus moves from another form.

Secondly, the activate event for a report. I am seeing it fire consistently
if I open the report acViewPreview, but never if I open the report
acViewNormal. I can find no mention of this discrepancy in the docs.

Am I missing something here, or are the docs wrong?

Randy


In a report, the Activate ONLY fires in Preview, never in Print.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #2

"Randy Harris" <ra***@SpamFree .com> wrote in message
news:wh******** ******@newssvr3 2.news.prodigy. com...

I'm working with Access 2K and seem to be getting some behavior that
contradicts the documentation. First, the help says:

"Note The Activate event doesn't occur when a form receives focus back
from a dialog box, popup, or another form."

This doesn't seem to be the case. The form activate consistently fires when focus moves from another form.
I'm still looking for an answer. Am I wrong or is the documentation? Or,
are there conditions where it won't fire?

Randy
Secondly, the activate event for a report. I am seeing it fire consistently if I open the report acViewPreview, but never if I open the report
acViewNormal. I can find no mention of this discrepancy in the docs.

Am I missing something here, or are the docs wrong?

Randy

Nov 13 '05 #3

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

Similar topics

1
2985
by: kuok benny | last post by:
Hi, I am trying to use the document.referrer to get the referrer of my home page. Occationally, I get the value of 'blockedReferrer'. Actually how this happen, how the client blocked the function of document.referrer. I just want to verify how this could be done within the browser e.g. IE, Netcape and so on... what Internet option have them activate or not activate to make me to have the value 'blockedReferrer'? Thanks in advance.
2
674
by: xixi | last post by:
hi, i found that in alter table command , you can do activate not logged initially to help not log any changes made to the table to log file, cause i have to delete almost 1 million records and my logfilsiz is 6120 pages, with 15 log primary and 20 log seconday, but still run with log file full error. but i also read that any error in the unit of work in which the not logged initially attribute is activate will result in the rollback, and...
4
5185
by: bughunter | last post by:
In version 7.x connect to db activate db db SQL1494W Activate database is successful, however, there is already a connection to the database. works fine - db activated. In 8.x - No! WHY??? :-(
2
1488
by: MLH | last post by:
I have the following tasks to perform on an unbound form. I want them to run every time I return to the form. For reasons not at issue here, I do not close the form with a docmd.close command. I leave the form open and set its visible property to false. When I need to return again to the form, I do so with the openform statement. Here are the tasks I want to run when I first open the form and everytime I return to it... 'Initialize...
5
1543
by: Adda | last post by:
In a Parent mdi form I have a datagrid. I select a record from the grid and then invoke a childmdi form. I add the childmdi to an arraylist to keep track of it. If a user has selected multiple records from the grid and has multiple childmdi forms open and then re-selects a previously selected record, I want to activate that childmdi form. Suppose the arraylist contains indexes 0,1,2,3,4 (5 childmdi forms). A user re-selects a child...
1
3233
by: google | last post by:
I have a form with several subforms. Users enter the data, then on the parent there is a command button that runs code to generate a .pdf document from a report based on the data they are working with. If a user enters data in a subform, then directly clicks the command button on the parent form, the data in the subform is not included in their document. I THOUGHT that as soon as focus left the subform, any pending changes to the data...
0
2018
by: tomlebold | last post by:
When or should the form Activate event be used? I'm working on an existing application that excutes Me.Refresh on the form Activate (Form_Activate) event. This event causes the form to try to update the current record when it should not be. I have never used this in any of my applications.
3
2172
by: daokfella | last post by:
I want to be able to store profile information for a user when they sign up for an account...but BEFORE they can log in. Can this be done using any of the built-in profile methods? Here's my current sign-up procedure: 1. User creates an account with username, password, e-mail and other information that I want to store in profile. 2. User is created as inactive and NOT logged in. Besides the profile
17
5374
by: Bodyboarder20 | last post by:
Hello! So im working on an applicaiton that all pretty much sits on a single form. When the application completes a task, I'd like it to use FlashWindow() to notify the user that it has completed. I have this part working; however, I cant seem to find the right event to use to Stop the flashing.
0
8240
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8175
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8625
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8336
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8482
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.