Op zaterdag 06 juli 2002 23:54 schreef Delphi32 het volgende:
[..]
Je geeft niet aan welke foutmelding je krijgt,
...
let op die komma na de 3
Nu heb ik dit:
<CFSET teller=1>
<CFSET regeltje="0">
<CFLOOP FROM="1" TO="50" INDEX="maakRegeltje">
<CFSET THIS.huidigeBox = #evaluate('box'&#teller#)#>
<CFIF #ParameterExists(huidigeBox)#>
<CFSET regeltje = #regeltje#&", #huidigeBox#">
</CFIF>
<CFSET teller=#teller#+1>
</CFLOOP>
<cfquery datasource="egpn">
DELETE from nws2
WHERE idnr IN(#regeltje#)
</cfquery>
EN DE FOUTMELDING is dit:
Error Diagnostic Information
An error occurred while evaluating the expression:
THIS.huidigeBox = #evaluate('box'&#teller#)#
Error near line 20, column 8.
--------------------------------------------------------------------------------
An error has occurred while processing the expression:
box4
Error near line 1, column 1.
--------------------------------------------------------------------------------
Error resolving parameter BOX4
ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either:
You have misspelled the parameter name, or
You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE tag.
The error occurred while processing an element with a general identifier of (CFSET), occupying document position (20:2) to (20:53).