Jump to content

overdhump

Newbies
  • Posts

    2
  • Joined

  • Last visited

FileMaker Experience

  • Skill Level
    Intermediate
  • Application
    21

Platform Environment

  • OS Platform
    Mac
  • OS Version
    Sierra

overdhump's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Thanks for the help and you certainly understood my issue correctly...that is in fact all true and thanks for straightening it out for me. I was so sure that it was updating when I changed the field definition such that the calculation resulted as text, but I must've been chasing my tail. Appreciate the help. Custom functions aside, that is very helpful information regarding calculation fields. Cheers!
  2. Hi, I am trying to better familiarize myself with Custom Functions and am going through some very basic exercises to get an understanding of how they can be used in calculations, and also make use of global variables as parameters. Along the way I've run into what to my eyes seems a bit odd. I'm hoping a more experienced developer can help me understand why. I've created the following: Custom Function: name: TESTFUNCTION Parameters: PAR1; PAR2 TESTFUNCTION( PAR1; PAR2 ) = PAR1 + PAR2 Calculation Field: = TESTFUNCTION( $$PAR1; $$PAR2 ) *Calculation result is Number Script: (to set the variables $$PAR1 and $$PAR2) 1. Set Variable [ $$PAR1; Value: $$PAR1 + 1 ] 2. Set Variable [ $$PAR2; Value: 2 ] I've placed the field on a layout and am expecting that when I run the script, the value in the field will change, but the field data is not changing. However, when I change the properties of the calculation field such that the calculation result is text, the value does change as expected. Can someone help me understand why this is not working when the calculation is set to output a number. Thanks in advance! Daniel ps If there is a better for for this topic amongst the many forums, I apologize. I am currently using FM Advanced 17 so this was the appropriate place I could find.
×
×
  • Create New...

Important Information

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