J
James Garner
Hi guys,
I've been getting some bizarre error messages with a form in Access and I
was hoping somebody might be able to recognise the problem and point me
towards a solution.
I have a fairly elaborate unbound form with quite a bit of VBA code behind
it which is eventually going to serve as a stock charting application. When
I switch from Design View to Form View, I get an error message saying that
'The expression On Load you entered as the event property setting produced
the following error: Invalid outside procedure.'
Once I click OK a couple of times, the form displays but without executing
the Form_Load procedure. I then get the same kind of error message for On
Click with buttons and occasionally On MouseMove (for which I haven't even
written any code).
I can't make any sense of it. The property settings all point to the right
procedures and the code works in isolation on other forms. It feels like
some kind of a bug in Access but, if so, how do I work around it?
I am using Access xp on Windows xp. Many thanks for any advice!
James.
I've been getting some bizarre error messages with a form in Access and I
was hoping somebody might be able to recognise the problem and point me
towards a solution.
I have a fairly elaborate unbound form with quite a bit of VBA code behind
it which is eventually going to serve as a stock charting application. When
I switch from Design View to Form View, I get an error message saying that
'The expression On Load you entered as the event property setting produced
the following error: Invalid outside procedure.'
Once I click OK a couple of times, the form displays but without executing
the Form_Load procedure. I then get the same kind of error message for On
Click with buttons and occasionally On MouseMove (for which I haven't even
written any code).
I can't make any sense of it. The property settings all point to the right
procedures and the code works in isolation on other forms. It feels like
some kind of a bug in Access but, if so, how do I work around it?
I am using Access xp on Windows xp. Many thanks for any advice!
James.