Jump to content

This topic is 6758 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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.

Posted

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.:P

[FMP-If: CurrentRecordCount.eq.field: MyFoundCount]

where MyFoundCount is the name of the field.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.