C
Chuck Chopp
I have a form in an Access 2000 database application that calls a macro when
the On Activate event occurs. This macro simply performs the Requery action
and does not specify any object/control name in the parameter which should
result in the data source for the form [a query] being refreshed.
Previously, this worked w/o any problems at all. Recently, some changes
were made to record definitions in some of the tables [these are linked
tables in a .MDB file that is separate from the one that the forms, macros &
modules exist in], but no changes were made that should have affected the query.
Anyway, whenever the macro is executed, a message box is displayed as follows:
Title = "Action failed"
The macro name, a condition value of "True", an action name of "Requery" and
an empty string for "Arguments" are all displayed in the message box.
The only button that isn't disabled is "Halt".
When I click on the "Halt" button, the macro is halted and then the form
displays itself and it appears that all of the records [this is a master
record form] are displayed on the form. If I give focus to a different form
and then return to this form again, the On Activate event occurs again and
the same message box is displayed again.
I've been searching Google and the MS KB but I've not found any definitive
results that explain why this might be happening.
Does anybody have any additional ideas regarding things that need to be
examined in my form, query, macros or tables to find the source of this problem?
TIA,
Chuck
--
Chuck Chopp
ChuckChopp (at) rtfmcsi (dot) com http://www.rtfmcsi.com
ICQ # 22321532
RTFM Consulting Services Inc. 864 801 2795 voice & voicemail
103 Autumn Hill Road 864 801 2774 fax
Greer, SC 29651 800 774 0718 pager
8007740718 (at) skytel (dot) com
Do not send me unsolicited commercial email.
the On Activate event occurs. This macro simply performs the Requery action
and does not specify any object/control name in the parameter which should
result in the data source for the form [a query] being refreshed.
Previously, this worked w/o any problems at all. Recently, some changes
were made to record definitions in some of the tables [these are linked
tables in a .MDB file that is separate from the one that the forms, macros &
modules exist in], but no changes were made that should have affected the query.
Anyway, whenever the macro is executed, a message box is displayed as follows:
Title = "Action failed"
The macro name, a condition value of "True", an action name of "Requery" and
an empty string for "Arguments" are all displayed in the message box.
The only button that isn't disabled is "Halt".
When I click on the "Halt" button, the macro is halted and then the form
displays itself and it appears that all of the records [this is a master
record form] are displayed on the form. If I give focus to a different form
and then return to this form again, the On Activate event occurs again and
the same message box is displayed again.
I've been searching Google and the MS KB but I've not found any definitive
results that explain why this might be happening.
Does anybody have any additional ideas regarding things that need to be
examined in my form, query, macros or tables to find the source of this problem?
TIA,
Chuck
--
Chuck Chopp
ChuckChopp (at) rtfmcsi (dot) com http://www.rtfmcsi.com
ICQ # 22321532
RTFM Consulting Services Inc. 864 801 2795 voice & voicemail
103 Autumn Hill Road 864 801 2774 fax
Greer, SC 29651 800 774 0718 pager
8007740718 (at) skytel (dot) com
Do not send me unsolicited commercial email.