Validating input text as numeric in a memo control
I have a dialog box with a memo control where a user enters an 8 digit number that's used to query a data base. It's a varchar column, but only numbers are valid. Is there a way to make sure the user only enters numbers in FastReport? I would need to either prevent the user from entering any other character, disable an OK button, or show an error message.
I am trying to do that with pascal script, but would like to know if there is a feature or property in FastReport to accomplish this.
Thanks
I am trying to do that with pascal script, but would like to know if there is a feature or property in FastReport to accomplish this.
Thanks
Comments
Never mind. I just noticed the ValidInt() function. That works. I got off on the wrong track trying pascal functions we don't have.