I'm attempting to use this piece of code...
Set rstMerge = CurrentDb.OpenRecordset("qrypopulate", dbOpenDynaset)
My query "qryPopulate" has two parameters
SELECT .....
FROM qryEventInfo
WHERE Location=[Enter Exact Location] AND Event_Date=[Enter Event Date mm/dd/yyyy];
However...after the "set rsmerge" line of code I receive a
"Too few parameters expected" error. How do I get around this. Normally when I run the query it pops up and asks me for "Exact Location" and "Event Date" which I supply and the query runs
Please help
Kacy
________
AMATUER FUCK
Set rstMerge = CurrentDb.OpenRecordset("qrypopulate", dbOpenDynaset)
My query "qryPopulate" has two parameters
SELECT .....
FROM qryEventInfo
WHERE Location=[Enter Exact Location] AND Event_Date=[Enter Event Date mm/dd/yyyy];
However...after the "set rsmerge" line of code I receive a
"Too few parameters expected" error. How do I get around this. Normally when I run the query it pops up and asks me for "Exact Location" and "Event Date" which I supply and the query runs
Please help
Kacy
________
AMATUER FUCK
Last edited: