Hi all Thanks for all your clarifications with all the testing and the cfdumps you suggested.... I resolved everything with that with a cfoutput after the cfif and another at the cfelse... Just got the idea with the code that Rich suggested earlier and with the cfdump after the cfif and cfelse it confirmed the result which I want but on the real code the no risorse comes up... so i tried the code below and it all came up well.... THANKS ALL FOR YOUR HELP...
<CFIF risorse.recordcount GT 0> <cfoutput> <a class="continuasmall" href="#LINKRISORSE#?INSEGNAMENTO_ID=#UrlEncodedFormat(INSEGNAMENTO_ID)#" target="_blank">#DESCRIZIONERISORSE#</a> </cfoutput> <cfelse> <cfoutput> <p>no risorse</p> </cfoutput> </cfif> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258411 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

