Ask a Question related to ASP Database, Design and Development.
-
Lebone Mogotsi #1
0x800A000D - Type Mismatch Error
I am not sure what is goint on. Here's my code
inWeekStart = "11"
inWeekEnd = "14"
Compyear = "2003"
Dim rsSQL, strSQL, cmSQL
dim objReportBuild
set objReportBuild = server.CreateObject("Area_Sales.cZoneMnthReport")
set rsSQL = objReportBuild.ZoneMnthReport(inWeekStart, inWeekEnd,
Compyear)
If I hard code the values when calling the component, the page works.
Does anyone have any idea what I could be doing wrong.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Lebone Mogotsi Guest
-
Type mismatch error
This query works fine on a live server using an MSSQL database: <cfquery name="qIndex" datasource="#appDSN#" username="shampoo"... -
data type mismatch error...
HI guys, getting pretty stressed with this haha! it's probably something simple...right I have this registration form that does multiple checks... -
Type mismatch Session error
You'll need to post a snippet of relevant code. Ray at work "TD" <TurboDuster@noyahoospam.com> wrote in message... -
Confused with the type mismatch error
I tried your simple example and got no type mismatch. I even modified it so that I was comparing a string to a number and got no type mismatch (it... -
Long Raw Type Mismatch error
I'm new to using long raw fields with ASP. I know it would be easier to leave the files on the file system, but the client wants them in the... -
Bob Barrows #2
Re: 0x800A000D - Type Mismatch Error
Lebone Mogotsi wrote:
As a guess, it looks like you are passing strings when the ZoneMthReport is> I am not sure what is goint on. Here's my code
>
> inWeekStart = "11"
> inWeekEnd = "14"
> Compyear = "2003"
>
> Dim rsSQL, strSQL, cmSQL
> dim objReportBuild
> set objReportBuild = server.CreateObject("Area_Sales.cZoneMnthReport")
> set rsSQL = objReportBuild.ZoneMnthReport(inWeekStart, inWeekEnd,
> Compyear)
>
> If I hard code the values when calling the component, the page works.
> Does anyone have any idea what I could be doing wrong.
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
expecting integers. Try
intWeekStart = CLng("11")
HTH,
Bob Barrows
Bob Barrows Guest



Reply With Quote

