saya ishi
asked on
About coldfusion2016 cfloop error
Currently we are migrating from coldfusion 6 to coldfusion 2016.
<cfloop index="RSG004_i" from="1" to="#RSG004_dt.num#" step="1">
I want you to tell me how to deal with this error.
Thank you.
<cfloop index="RSG004_i" from="1" to="#RSG004_dt.num#" step="1">
I want you to tell me how to deal with this error.
Thank you.
that is not an error, it is a Cfloop statement
ASKER
Thank you for your reply
That is not an error
However, when analyzing using the code analyzer of CF 2016, it will get an error on this line.
That is not an error
However, when analyzing using the code analyzer of CF 2016, it will get an error on this line.
What is the error message?
The only thing I can see is that you may have a problem with this variable...
RSG004_dt.num
Is it defined?
Is it a structure and is num a valid structure key?
What is the value of the variable?
Is the value numeric?
A number is expected in the "TO" parameter, ensure the value is a number
The only thing I can see is that you may have a problem with this variable...
RSG004_dt.num
Is it defined?
Is it a structure and is num a valid structure key?
What is the value of the variable?
Is the value numeric?
A number is expected in the "TO" parameter, ensure the value is a number
ASKER
Thank you for your reply
The syntax is not wrong. Let's check that RSG004_dt.num is a numerical value.
Thank you politely.
The syntax is not wrong. Let's check that RSG004_dt.num is a numerical value.
Thank you politely.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.