Welcome to the Calyx Software Message Boards where you can share ideas and solutions with other Calyx users! Calyx personnel including Tech Support, Development, QA, and Business Planning often visit these message boards unofficially to better understand our customers' needs. To submit your suggestions Click Here.
This discussion forum is a service provided by Calyx Software. Calyx Software does not endorse any particular point of view expressed in this forum or any information provided in it. The use of the information provided by other users in this message board is at your own risk.
Calyx Software Message Board
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


««12

Formulas in Custom FormsExpand / Collapse
Author
Message
Posted 3/14/2006 9:32:06 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 5/8/2008 10:41:52 AM
Posts: 17, Visits: 91
What about when one of the entries in the formula is blank?

For example, I'm trying to do this:

(loan origination fee + loan discount fee + mortgage broker fee)/loan amount x 100

the resulting formula being

{=PNT_1023 + PNT_1024 + PNT_1026/PNT_11*100}

But it works only when all the fields have a value. If, say, the loan discount fee is blank, a syntax error is generated.

I tried an if-then-else so a "0" would be inserted if the field were blank, but it doesn't work either.

Incidentally, if I use a table and SUM(ABOVE), the formula ignores anything above the blank cell. In this case, if I stack 1023, 1024, and 1026, and 1024 is blank, only 1026 is used in the formula.

Is there an easy fix? Thanks...
Post #2816
Posted 3/22/2006 1:13:37 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 12/16/2008 1:31:52 PM
Posts: 124, Visits: 970
try a variation of this formula that I use to calculate a group of fees that may have 0s.

{={if {mergefield pnt_5308}=”” “0.00” “{mergefield pnt_5308}”}±{if {mergefield pnt_5309}=”” “0.00” “{mergefield ont_5309”}

 

This is a very basic one that will add 2 fields even if one has a 0 amt.

"MMM Yeah, I'm going to need you to go ahead and come in on Saturday."

Post #2879
Posted 5/16/2006 1:12:56 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 10/8/2008 8:13:28 PM
Posts: 126, Visits: 152
MBSMortgage (10/21/2005)
I'm trying to use mergecodes in a formula. The formula I'm using looks something like this:

{= <<pnt_753>>+<<pnt_754>>+<<pnt_755>>}

This works fine and displays the sum of those 3 fields, however when I'm editing the custom form it displays:

!Syntax Error, <

I'm wondering if there is a problem with my formula. Obviously not a bad enough problem to stop it from working but enough to get that error. I'm guessing that it's because there isn't any data being put into the formula in edit mode so it's screwing up the syntax. Anyone have any suggestions for using formulas like that?

The syntax error code is telling you that you have an "is less than" function ( < ) in a place it shouldn't be. This is because your field ID's come in the form "<<Field ID ____>>." When Point prints the form, it first replaces the <<Field ID ____>> with the actual value, which eliminates the syntax error.

The only way to tweak the form and see the result is to keep printing it. You can save paper by printing to PDF.

Regards,

 

Edit: removed accidental emoticon. changed (< to ( < )

Post #3186
« Prev Topic | Next Topic »

««12

Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Emmanuel Huna, Bryan Telford, Jason Beck, Mike Thompson, BetaFisch

PermissionsExpand / Collapse

All times are GMT -8:00, Time now is 5:26am

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.031. 11 queries. Compression Enabled.
© 2005 Calyx Software. All rights reserved.