Range value not being picked up

A place to share your useful hints for getting the most from Proclaim, be it as a user or an administrator.

Example maths items are best placed in the "Example Proclaim Maths" topic.
Post Reply
rajeev108
Posts: 275
Joined: Sat Feb 11, 2012 9:17 am
Has thanked: 9 times
Been thanked: 1 time

Range value not being picked up

Post by rajeev108 » Wed Jul 25, 2018 5:42 am

I had a rather puzzling episode in extracting range value and I could not get to the bottom of the reason. It was a standard scenario whilst creating a new case:

Code: Select all

amt = RANGE("my range",my_amount
The above logic was behind a field value change. However, the 'amt' kept on showing zero rather than the correct value. It transpired that an UPDATE statement was needed before the above code. It almost seems that the range table was not being picked up without the update. I cannot explain the reason for this misbehaviour but I do hope it saves someone a little bit of time. It is especially disconcerting as it was not a logic error but some idiosyncrasy of Proclaim.
Regards
Rajeev

Post Reply