Saturday, November 21, 2015 at 2:16:08 AM

Just for fun, what happens if you break it into several steps?

<%
C_TEXT($vTemp)
$vTemp:=_query{"id"}
C_LONGINT($vnID)
$vnID:=Num($vTemp)
%>

Still get the error?

Also, try restarting the web server and/or computer; sometimes that might clear 
up weirdness.

Cheers!

Michael Larue

--------------

On Nov 21, 2015, at 1:05 AM, Justin Will <[email protected]> wrote:

> I am receiving some errors that don't make any sense to me.  I  have the 
> following code in a page.
> 
> <%
> C_Longint($vnID)
> $vnID:=Num(_query{"id"})
> %>
> 
> I am occasionally getting the following error from this code.
> 
> An operation on incompatible types was attempted (expected a numeric 
> expression or a text expression or a boolean expression)
> 
> My Query params are:
> id: 150672
> sessionid: 501357412-9696-30768
> 
> How in the world is this an error?  I have seen similar errors on several 
> pages
> 
> Here's the error info:
> 
> Error Classification: 6
> 
> Error Description: An operation on incompatible types was attempted (expected 
> a numeric expression or a text expression or a boolean expression)
> 
> Error Path: /40015/register.html
> 
> Error Source Method:
> 
> Error Before Token: $vnID:=Num(_query{"id"
> 
> Error Token: }
> 
> Error After Token: )
> 
> Error Err Code: 0
> 
> 
> Thanks
> Justin
> 
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to