JHinman Posted May 16, 2001 Posted May 16, 2001 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]
Vaughan Posted May 17, 2001 Posted May 17, 2001 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.
JHinman Posted May 17, 2001 Author Posted May 17, 2001 Thanks Vaughan, I'll have to give that a try. Jordan
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now