X3 PU 9.0.5
I'm trying to add a field to our GACCOUNT table and want the value to always be exactly five numbers when a user enters it (12345) If they enter less then 5 digits (1234), I want X3 to refuse to save the value. I don't want to pad the value with zeros (01234).
I've figured out how to limit to 5 numbers, but I haven't been able to figure out how to prevent less than 5.
The data type is Long Integer, the Length is 5, the Adonix format is 5#, and the Options is z+
I'd like to be able to do this within the GUI and not in the 4GL code.