Field calculations

Vaughn Clement vclement at gmail.com
Wed Sep 11 19:11:57 EDT 2013


Hi All

 Have you ever had a problem where the won't calc. I changed the field
names to 1 word each to make it easy for the calc? That did not fix it. I
put it in a button, didn't work. Changed back to an on Closefield script
and it does not work. JUST STUPID LC! This app has several calculations and
I can't get the first one to work!

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 3:36 PM, Vaughn Clement <vclement at gmail.com> wrote:

> Hi Geoff
>
> It made sense to test on a new blank stack and it worked there, so now I
> need to find out why the app I am working on is having errors.
>
> 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 3:30 PM, Geoff Canyon <gcanyon at gmail.com> wrote:
>
>> If you mean, "I changed the value in the loan percentage field, but
>> nothing
>> happened," then check what Jim wrote above about the closeField message.
>> Whenever you change the value in a field, as soon as you click someplace
>> else the field gets a closefield message, and if the field (or the card
>> the
>> field is on, or the stack the card is in) has a script like this:
>>
>> on closeField
>>    answer "You changed something."
>> end closeField
>>
>> then you'll get a dialog. From there you just need to get rid of the
>> answer
>> command I used and put what you really want to have happen there.
>>
>>
>> On Wed, Sep 11, 2013 at 4:34 PM, Vaughn Clement <vclement at gmail.com>
>> wrote:
>>
>> > 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
>> > >
>> > _______________________________________________
>> > 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
>> >
>> _______________________________________________
>> 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