Field calculations

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Sep 11 14:48:39 EDT 2013


Vaughn,

put fld 1 + fld 2 into fld 3
put fld "bla" + fld "foo" into fld "bar"
etc.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 9/11/2013 19:26, Vaughn Clement wrote:
> Hi All
>
> After entirely to many hours of research trying to get a reference location
> for scripting simple field calculations, and also testing scripts I need
> some veteran help.
>
> 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.
>
> 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
>
> I might want to add 3 fields together and then subtract a different field
> from the sum of the 3 fields.
>
> Or take a loan percentage * the Loan amount to get the amount of interest
>
> Thank you
>
> Vaughn Clement
>




More information about the use-livecode mailing list