Newbies brellis Posted July 31, 2006 Newbies Posted July 31, 2006 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.
Mikhail Edoshin Posted August 1, 2006 Posted August 1, 2006 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.
Recommended Posts
This topic is 6758 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now