Jump to content

Add a value to a field


Recommended Posts

I have a field (AEU_D) that I need to add a value of 2 until to reach the number of 100.000. I can do this by excel but I would like to have a rule in FP for it, is there somebody can help me on this easy issue?

Many thanks in advance,

__________________

Angelo P.

FP 7 Windows XP

Link to comment
Share on other sites

I'm not sure I understand what you mean by, "add a value of 2 until to reach the number of 100.000." If you just want to add to the value in an existing field, you can do something like this:

var NumericVal =  StringToNumber(Field("AEU_D").replace(/[^\d\.\-]/g,''));
return FormatNumber("$#,###.00", NumericVal + 2);

Link to comment
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.

×
×
  • Create New...