Converting Access string to DBTYPE_DATE

I'm using Access 2010 and have a routine that sends parameters to an Oracle procedure.
It works great for strings (adChar) and Numbers(adDouble) but I'm trying to send it a date.
I think it needs a DBTYPE_DATE.

I dim:
Dim cPW As New ADODB.Command
Dim aPNames() As ADODB.Parameter

Then I set the "core":
Set aPNames(iCount) = cPW.CreateParameter(, adDBDate, adParamInput)

Then I get to the point where I assign the value
  cPW.Parameters.Append aPNames(iCount)
  aPNames(iCount).Value = aParam(iCount, 3)

aParam is a string array. Aparam(iCount,3) is "20110501".

I get the error:
Application uses a value of the wrong type for the operation

What do I need to send it  and how do I get there?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try one of these:

Left("20110501",4) & "-" & Mid("20110501",5,2) & "-" & Right("20110501",2)

Dateserial(Left("20110501",4) , Mid("20110501",5,2) , Right("20110501",2))

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GNOVAKAuthor Commented:
Either one does work - Thanks!!!!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.