[Stackoverflow] [Progress OpenEdge ABL] How to validate a file input path? - PROGRESS 4GL

Status
Not open for further replies.
B

Bharat

Guest
Below query helps to validate when I keep invalid path. The problem is its failing when I enter " \ " or "." or any special characters. How to validate them?

Code:
FILE-INFO:FILENAME = "\".

IF FILE-INFO:FULL-PATHNAME = "?" THEN
  MESSAGE "Invalid path".

Continue reading...
 
Status
Not open for further replies.
Top