If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Jhstephenson
Posts: 297 Joined: Wed Apr 22, 2015 11:44 pm
Post
by Jhstephenson » Mon Aug 07, 2023 4:16 pm
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: 232 Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:
Post
by joben » Tue Aug 08, 2023 7:14 am
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
Jhstephenson
Posts: 297 Joined: Wed Apr 22, 2015 11:44 pm
Post
by Jhstephenson » Tue Aug 08, 2023 9:28 pm
It should be using US-English based decimal and thousands separators. So I think the '.' is correct.