Incrementing Value in an Attribute

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Incrementing Value in an Attribute

Post by Jhstephenson »

I have a process that will increment a charge count on an existing record by 0.01 and then display a form to edit some other fields. The process is fairly simple:

Code: Select all

ENTER NEW Charges WITH Charges.ChargeCount=ThisCharges.ChargeCount+0.1,Charges.parent_CaseMaster=ThisCharges.parent_CaseMaster USING Main
Except that process does not work. I have to enter it like this:

Code: Select all

ENTER NEW Charges WITH Charges.ChargeCount=ThisCharges.ChargeCount+1/10,Charges.parent_CaseMaster=ThisCharges.parent_CaseMaster USING Main
Why on earth does the first one not work?
joben
Posts: 230
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: Incrementing Value in an Attribute

Post by joben »

Just guessing here, but could it be that dot (.) should be a decimal (,) ?

Like:

Code: Select all

ENTER NEW Charges WITH Charges.ChargeCount=(ThisCharges.ChargeCount+0,1),Charges.parent_CaseMaster=ThisCharges.parent_CaseMaster USING Main
Regards, Joakim

Image
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: Incrementing Value in an Attribute

Post by Jhstephenson »

It should be using US-English based decimal and thousands separators. So I think the '.' is correct.
Post Reply