Jump to content

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

Recommended Posts

Posted

Hi there,

I am trying to place a portal on a page of mine. What I would like to know is how to test the portal to find out if there are no related records. And if no records show up to post a message like "No homes posted" or something like that. My code is listed below. Thanks for any help!

Jordan Hinman

[FMP-Portal: HouseOwner]

<BR>*[FMP-field: HouseOwner::HomeAddress]</BR>

[/FMP-Portal]

Posted

In the master database, create a calculation field that counts the number of related records (something like Count (relationship::matchfield) will work).

On you HTML format file, use an IF based on this calculation field to display the portal if count>0 else display a mesage.

This topic is 8667 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.