T
TC
I don't have Access here to check, but I suspect you will need to set the
parameters using the Parameters collection of the Querydef object, then use
the Execute method of that object. Something like:
set db = currentdb()
set qd = db.querydefs![myQry]
qd.parameters![myPrm1] = 11
qd.parameters![myPrm2] = "xyz"
qd.execute
set qd = nothing
set db = nothing
HTH,
TC
parameters using the Parameters collection of the Querydef object, then use
the Execute method of that object. Something like:
set db = currentdb()
set qd = db.querydefs![myQry]
qd.parameters![myPrm1] = 11
qd.parameters![myPrm2] = "xyz"
qd.execute
set qd = nothing
set db = nothing
HTH,
TC