Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Mouse click!


john9210

Recommended Posts

FM 8.5. I use calculation fields to apply background colors to fields that I want to highlight. The colors are stored in a global repeating field. A typical formula is:

 

Color1=GetRepitition(ColorContainerField,Case(Flag1=1,0,Flag1=0,2))

 

Flag1 is set by script.

 

The colors compute ok, but they do not appear unless I mouse click on the record outside a field. I’ve added the Refresh Window script step at the end of the script, but this has no effect.

Any suggestions on how I can eliminate the need to click with the mouse? Is this a bug with FM?

Link to comment
Share on other sites

Any suggestions on how I can eliminate the need to click with the mouse?
At the end of your script use the Go to Field script step and don't define a field to act on. If you don't have the layout set to save record changes automatically this will likely bring up a 'Save Record Changes' dialogue which may be even more annoying than having to click the mouse.
Link to comment
Share on other sites

perhaps a commit records/requests script step. If that does not work, you'd better post the script or the relevant bits of it.

How is the flag field set? is this a networked solution?

 

btw. since you use a boolean value for the flag, by organising them cleverly in the repeating container you might use the calc

GetRepetition ( ColorContainerField ; flag+1 )

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.



×
×
  • Create New...

Important Information

Terms of Use