July 31, 200619 yr Newbies Using CDML, I want to display a particular heading if the CurrentFoundCount and the CurrentRecordCount are the same. When I type [color:green][fmp-CurrentFoundCount] I get 29 (which is correct). When I type [color:green][fmp-CurrentRecordCount] I get 29 (which is also correct). When I type [color:green][FMP-if: CurrentRecordCount .eq. CurrentFoundCount]CFC equal to CRC[/FMP-IF] nothing happens. If I change the .eq. to .neq. then it appears...though it shouldn't. Does anyone have an idea why it is doing this? I don't have a problem with any of my other CDML on the page.
August 1, 200619 yr You cannot use CurrentFoundCount as the second parameter in the comparison. Check the description of the FMP-If tag in the CDML Reference database. THe possible workaround is probably to create an unstored calculated field equal to Status( CurrentFoundCount ) and use the field instead, i.e. [FMP-If: CurrentRecordCount.eq.field: MyFoundCount] where MyFoundCount is the name of the field.
Create an account or sign in to comment