Re: Too Few Parameters error ???
am 10.11.2007 15:58:12 von Bob QuintalMLH
news:1cibj3tiaqo0r9eijjiuovln9jr48idhno@4ax.com:
> BTW, am trying to do this without qdfTemp being a
> permanent, saved querydef. Is that not possible? Will
> be happy to post the bulk of the snippet if need be.
Sure it's possible. Read the help on openrecordset.
your Set rstTemp = .OpenRecordset(dbOpenSnapshot)
is missing the required first parameter, but you've included the
second, optional, parameter.
try this
strSQL = "SELECT info from HELP where help.key = """ & openrecordset &
""""
Set rstTemp = .OpenRecordset(strSQL)
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from http://www.teranews.com