B
Bridget McWatters
I have Access 2002 installed on Microsoft XP-Home edition. But are they
compatible? I am finding that when I try to run an event procedure created
for a form field, it always jumps to a procedure of code that is different
from the event procedure that I am trying to run, and naturally causes a
compilation error because it is the wrong procedure. Then when closing the
VB debugging window, the correct event procedure was found to be behind it,
with the yellow arrow pointing to its title. Since the title is part of the
template generated when programming the event procedure, I cannot see what
programming problem has caused this, and it occurs to me this has something
to do with the installation. Am I correct?
The method used to program this is as follows:-
1) Bring up a form and into design view
2) Select the field to be edited, right click, field properties, event tab
3) Press ellipsis on the OnExit event to go into VB code editor
4) The procedure title and end are generated as template code
5) Entered 1 line of VB code, to set this.fieldname to a variable value
6) Saved it
Attempted to run by filling in the form and tabbing past the field, so that
on exit, it goes into my program code. That is when it gives compile error
as described.
Any suggestions are appreciated. Thank you.
Also, if it is that I should use XP Professional edition, will it work on
laptop, or does it require a new PC?
compatible? I am finding that when I try to run an event procedure created
for a form field, it always jumps to a procedure of code that is different
from the event procedure that I am trying to run, and naturally causes a
compilation error because it is the wrong procedure. Then when closing the
VB debugging window, the correct event procedure was found to be behind it,
with the yellow arrow pointing to its title. Since the title is part of the
template generated when programming the event procedure, I cannot see what
programming problem has caused this, and it occurs to me this has something
to do with the installation. Am I correct?
The method used to program this is as follows:-
1) Bring up a form and into design view
2) Select the field to be edited, right click, field properties, event tab
3) Press ellipsis on the OnExit event to go into VB code editor
4) The procedure title and end are generated as template code
5) Entered 1 line of VB code, to set this.fieldname to a variable value
6) Saved it
Attempted to run by filling in the form and tabbing past the field, so that
on exit, it goes into my program code. That is when it gives compile error
as described.
Any suggestions are appreciated. Thank you.
Also, if it is that I should use XP Professional edition, will it work on
laptop, or does it require a new PC?