A
alan fisher
I have a procedure that updates a table with values from a
recordset and would like to handle the operation in a sub
since I do the same thing in several places within an
If..Then...Else statement. I created a sub called
UpdateEffectiveTable(rs as recordset). I then passed the
name of the recordset to the Sub. I am updating the
recorset with variables which are set in the main
procedure and during compile I get an error in the sub
because the variable is not recognized. Can I pull the
value of the variable from the Sub as opposed to passing
the value when I run it. Thanks for any help.
recordset and would like to handle the operation in a sub
since I do the same thing in several places within an
If..Then...Else statement. I created a sub called
UpdateEffectiveTable(rs as recordset). I then passed the
name of the recordset to the Sub. I am updating the
recorset with variables which are set in the main
procedure and during compile I get an error in the sub
because the variable is not recognized. Can I pull the
value of the variable from the Sub as opposed to passing
the value when I run it. Thanks for any help.