Field calculations

Vaughn Clement vclement at gmail.com
Wed Sep 11 17:34:21 EDT 2013


Hi Mark

I tried your script and it does not work? Your script did not designate if
it is in a card, button or field. I put it the card then the field and it
did not work in either of them?

Thank you

Vaughn Clement

Apps by Vaughn Clement (Support)
*http://www.appsbyvaughnclement.com/tools/home-page/*
Skype: vaughn.clement
https://secure.join.me/appsbyvclement
FaceTime: vclement at gmail.com
LogMeIn also avaialble
Call on "ooVoo" at address:  vaughnclement or 9282549062
Ph. 928-254-9062
Cloud Hosting Registration Web Site:
https://my.oditech.com/cart.php?a=add&pid=41


On Wed, Sep 11, 2013 at 10:38 AM, Mark Wieder <mwieder at ahsoftware.net>wrote:

> Vaughn-
>
> Wednesday, September 11, 2013, 10:26:12 AM, you wrote:
>
> > I am a database developer so I am new to LiveCode. I used the dictionary
> > trying to do the following but the Hypertalk script approach is not
> clear.
>
> Not a problem. Basically you've already written the code by describing
> it in pseudocode:
>
> > I simply want to take one field and use a math operator to say add two
> > fields together and put the result into a third field.
>
> > Example: Loan amount + loan fees = Sum amount of loan
>
> put field "loan amount" + field "loan fees" into field "sum"
>
> > I might want to add 3 fields together and then subtract a different field
> > from the sum of the 3 fields.
>
> put field 1 + field 2 + field 3 - field 4 into total
>
> > Or take a loan percentage * the Loan amount to get the amount of interest
>
> put tLoanPercentage * tLoanAmount into tInterestAmount
>
> --
> -Mark Wieder
>  mwieder at ahsoftware.net
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list