Assuming that tblListings_qry2 is a stored procedure than you would just
append it
Set RS=cnn.Execute("EXEC tblListings_qry2 5")
if there are multiple parameters, you just separate them with commas
Set RS=cnn.Execute("EXEC tblListings_qry2 5,3,'Bob''s your uncle', 99,
'hello','etc',1")
"jason" <ja***@catamaranco.com> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...
How does one pass a parameter to the EXEC query recordset:
set rs = cnn.execute("EXEC tblListings_qry2")