hi
Is there any way to check if specified file names are loaded into the current library?
I’m importing values from optional txt files, and if the txt files aren’t loaded the report ends up full of these errors:
File not found in the library
while operating on file ‘#######.txt’.
This is what I’m using:
currentChannel = OPEN (“TEXT”, currentFileName, “LIBRARY, MODE = RO”)
IF currentChannel = 1 THEN
GOSUB “Import Text File Content”
ENDIF
CLOSE currentChannel