Hi Andrew,

I don't think #(SameSur.RecordCount -1)# is
Valid syntax?

I usually use the val() function for this kind
Of thing.

#val(SameSur.RecordCount - 1)#

Hope this helps,
Adam

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Dickinson
Sent: Friday, 21 March 2003 9:46 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: What's this ?! SSException: SSYacc0105e: Error
token failed, no valid token16


Getting even stranger.

In the same block of code, I had entered 

<A HREF=SameSurname.cfm?Sur=#Sur#>
#(SameSur.RecordCount -1)# other customer(s) named #Sur#
</A>

I changed it to the more regular

<CFSET NumOtherSurs = SameSur.RecordCount - 1>

<A HREF=SameSurname.cfm?Sur=#Sur#>
#NumOtherSurs# other customer(s) named #Sur#
</A>

This clears the error.

Any ideas what went on here ?

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

> Never seen this one before.
> 
> I had this code working yesterday
> 
> <A HREF=SameSurname.cfm?Sur=#Sur#>
> 
> then changed it to
> 
> <A HREF=SameSurname.cfm?Sur=#Sur#&CustID=#CustID#>
> 
> which appears to have triggered the following error.
> 
> ----------------------------------------------------------
> 
> SSException: SSYacc0105e: Error token failed, no valid token16
> 
> PCodeDocumentNodeImp::prepareForExecution
> 
> ----------------------------------------------------
> 
> I change it back to the original code
> 
> <A HREF=SameSurname.cfm?Sur=#Sur#>
> 
> but the same error persists.
> 
> Questions.
> 
> 1. Can the above error be explained completely by the above 
> information only ?
> 
> 2. If not, what other stuff could have triggered it ?
> 
> I have tried closing and re-opening CF, and stop-start. No effect.
> 
> Help !

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to