#suffix-5# and #suffix+5# didn't work on CF5
you'd need to do a <cfset thisSuffix = suffix - 5> or #evaluate(suffix -5)#
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 11:45 AM
Subject: cfmx & cf5
> I have a query that works fine on MX but shows this error on 5:
> Invalid parser construct found on line 117 at position 55. ColdFusion was
> looking at the following text:
> -
>
> Here is my query:
>
> <cfquery name="checkserialnumber" datasource="test">
> select
> count(*) as MyCount
> from claimdetails where serialnum >= '#prefix##suffix - 5#' AND serialnum
> <= '#prefix##suffix + 5#'
> </cfquery>
>
> How do I format for 5 and MX?
>
> Thanks!
>
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- CFHTTP return data.... Butch Zaccheo
- RE: CFHTTP return data.... Paul Kenney
- RE: CFHTTP return data.... Dave Watts
- Re: CFHTTP return data.... Butch Zaccheo
- cfmx & cf5 kelly
- Re: cfmx & cf5 Bryan Stevenson
- RE: cfmx & cf5 Barney Boisvert
- RE: cfmx & cf5 kelly
- Charlie Griefer