len() function
Hi all,
Am new to CFM and my client asked me to make a small change in his website. So, i identified the page and did a small change. But the change is not working. I've attached the file for reference.
In that file, see the commentd line nos : 139-147
<!---<cfset new="#dato#">
<cfset new_id="">
<cfset new_id1="">
<cfif len(new) lt 6>
<cfset new_id = '00000'&new>
<cfset new_id1 = right(new_id,6)>
<cfelse>
<cfset new_id1 = new>
</cfif>--->
and the line no - 148 is having the partial query as a string.
<cfset mani_querybusca3 = "and c.IdCliente like '%#new_id1 #%' ">
But whats the value am generating in the 139-147 lines is not coming in that 148th line.
For Eg:
Can anyone help me to solve this problem?
