Could someone please help me out with the proper syntax to coerce data to upper case?
my statement is :
clientidold=arguments[3]
I want to ensure that the result field, clientidold, is upper case.
Ive tried:
clientidold=arguments[3].toUpperCase and
clientidold.toUpperCase=arguments[3] and
clientidold=arguments[3];clientidold.toUpper=clientidold and
clientidold=arguments[3];clientidold=clientidold.toUpperCase
[snippet case=‘really happened this week’]
Imagine a blond girl using a system for order management.
Imagine this blond user bypassing 2!!! messages not to delete an organization FREQUENTLY
Imagine these organizations are captured in an archive so the organization and related data can be restored
Imagine the organization and related data are set up to be deleted all when an organization is really deleted
Imagine the blond working with a keyboard
Imagine the blond using an obscure key combination that deletes the organization
Imagine me browsing in the history and log files finding out that the blond, in whatever way, bypassed ALL settings and ONLY deleted the organization WITHOUT related data
Imagine me being relieved because the issue was not so big
Imagine me being surprised that this can actually be happening
[/snippet]
I’d use a mask on the field for display purposes and in the onRecordUpdate/Insert of the table, check if the text is allready properly titleCased, and if not, make it titleCased.