Hi Wayne,
I'm going to do my best to answer this, but it's getting really over my
head...
OK first things first:
1. When I run the process the debugger highlights the following line in
yellow with a yellow arrow to the left of it:
Private Sub cboProgAddr_AfterUpdate()
2. In the Properties Box for Combo Box under "After Update" it reads:
[Event Procedure]
3. In the Debugger there is a directory window on the upper left. In that
window there is a folder named "Microsoft Office Access Class Objects". In
that folder is a file named "Form_frmUIRInitialInput". That's where the
yellow highlighted code is.
I don't know if this matters or not but when the debugger initially comes
up
the main window shows code from another form "Form_Form 1" and in the main
window is the following code:
Option Compare Database
End Sub
...and of the above, the words "End Sub" are highlighted in blue. Since
this
form is not even open or being worked with, I have no idea if this is
related
to the problem or not.
Many thanks for your help. I actually learning as we go along.
David
Wayne Morgan said:
Which line does the debugger highlight when it gives the error? In the
code
editor, go to Debug|Compile and click Compile there. It should show you
which line is the problem. You should be able to use the "!" or "." to
do
this. I tend to use the "." because it give you the IntelliSense to
reduce
your typing.
What do you have in the Properties dialog for the combo box under "On
After
Update" on the Events tab? Where is the procedure located? It should be
in
the form's module. The Events tab should show [Event Procedure] for this
item, then click the ... button to its right (visible when the cursor is
in
that box) to go to the code module. The first and last lines of the
procedure will be created for you automatically.