C
Catalin
Dear friends,
I am confronting with an error and I do not know why it appears and how I
can get rid of it.
The error comes when I write a code in ANY of the event methods of the
report - On Activate, On Open etc.
The error message is: "The expression On Activate you entered as the event
property setting produced the following error: A problem occured while Access
was communicating with the OLE server or Activex control"
On Activate is replaced with On Open if I use this event. Now even if I
delete the code, the error still persists and I cannot get rid of it unless I
replace the report with the one from my safety copy. And the story repeats
again.
The code I am inserting is "docmd.maximized". Thats all. Immediately after
that I get some other errors inside report - "Name?" - for some controls
which contains the following kind of expressions : =Iif(test=0,
"profile","operations")
Thanks in advance for your support.
Catalin
I am confronting with an error and I do not know why it appears and how I
can get rid of it.
The error comes when I write a code in ANY of the event methods of the
report - On Activate, On Open etc.
The error message is: "The expression On Activate you entered as the event
property setting produced the following error: A problem occured while Access
was communicating with the OLE server or Activex control"
On Activate is replaced with On Open if I use this event. Now even if I
delete the code, the error still persists and I cannot get rid of it unless I
replace the report with the one from my safety copy. And the story repeats
again.
The code I am inserting is "docmd.maximized". Thats all. Immediately after
that I get some other errors inside report - "Name?" - for some controls
which contains the following kind of expressions : =Iif(test=0,
"profile","operations")
Thanks in advance for your support.
Catalin