Hi Guys,

I have this statement in my code, and I'm getting results that are
opposite of what I should be getting... i think.

Assume get_max_photo_position.max_photo_position = 6
and
photo_file_info.photo_position = 2


Following code results in 'Is 6 lte 1?'

<CFIF get_max_photo_position.max_photo_position lte
'#photo_file_info.photo_position# - 1'>

<CFOUTPUT>Is #get_max_photo_position.max_photo_position# lte
#photo_file_info.photo_position - 1#</CFOUTPUT>?

</CFIF>



What am I doing wrong here? I've tried both single and double quotes
around #photo_file_info.photo_position# - 1



-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to