P
Paolo
Hi all,
In one sub:
Dim wrkpack as boolean
workpack = me.wrkpack
call othersub(wrkpack)
In another sub:
Sub othersub(wrkpack as boolean)
Is this a silly thing to do? I keep on getting By Ref argument type
mismatch errors. me.workpack is a checkbox on a form with the
default=0. The reason I am using workpack as a boolean variable is
that in the second sub, I am running a transaction and I can't figure
out how to get the transaction to recognize me.wrkpack.
Thanks in advance
Paolo
In one sub:
Dim wrkpack as boolean
workpack = me.wrkpack
call othersub(wrkpack)
In another sub:
Sub othersub(wrkpack as boolean)
Is this a silly thing to do? I keep on getting By Ref argument type
mismatch errors. me.workpack is a checkbox on a form with the
default=0. The reason I am using workpack as a boolean variable is
that in the second sub, I am running a transaction and I can't figure
out how to get the transaction to recognize me.wrkpack.
Thanks in advance
Paolo