Jump to content
Sign in to follow this  
Bekah

Count won't change

Recommended Posts

I hve unstored calculation that won't change even if I add a Commit Record or Refresh Window.

Here's the deal: each contact is assigned a rep. This rep can select 15 'special' contacts. I need to display the rep's count on contact form so they know their count and can decide whether to add the current contact to their special list.

I created Contacts selftable called Special and joining rep to rep. I have field in Contacts called Special (just a number field). I put Count(Special::Special).

It works but if I click button to add Contact, it doesn't change until I go to a different contact. crazy.gif i think its because its a related thing, but that's why I put the calculation in Contacts, so this wouldn't be a problem. But it is.

I thought about storing the count in the Rep table but they need to be able to find the Special Contacts and I think I'll hit the same 'related' issue with the calc not changing. Is this true? I can't use a global because it'll disappear. Ideas to move me forward?

Share this post


Link to post
Share on other sites

Update to FMP 7.0v3, the Refresh Window step has a new option that updates portals and related information.

Otherwise, try issuing a Enter Preview Mode [] then Enter Browse Mode [] sto update the screen.

Share this post


Link to post
Share on other sites

Hi Vaughan, I guess it's time to upgrade this weekend. And until I do, I'll add preview/browse to the script. Thank you. smile.gif

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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