K
KathyJ
I trying to pass 3 parameters to an append query.
The first 2 are dates that are added when the data is
appended to the datle. The 3rd parameter is the criteria
parameter. When I try and run the query from code,I get
the following error message,
"Parameter object is improperly defined. Inconsistant or
imcomplete information was provided."
Set prmEndDate = cmd.CreateParameter("CEndDate",
adDate, , , varCEndDate)
cmd.Parameters.Append prmEndDate
Set prmCust = cmd.CreateParameter("[PCust", , , ,
strCust).
I know it has something to do with the fact that the 3rd
and problem parameter is criteria, but other than that, I
don't have any idea.
Any clues???
Thanks
The first 2 are dates that are added when the data is
appended to the datle. The 3rd parameter is the criteria
parameter. When I try and run the query from code,I get
the following error message,
"Parameter object is improperly defined. Inconsistant or
imcomplete information was provided."
Set prmEndDate = cmd.CreateParameter("CEndDate",
adDate, , , varCEndDate)
cmd.Parameters.Append prmEndDate
Set prmCust = cmd.CreateParameter("[PCust", , , ,
strCust).
I know it has something to do with the fact that the 3rd
and problem parameter is criteria, but other than that, I
don't have any idea.
Any clues???
Thanks