Checking library for file names Home › Forums › Problems and solutions in GDL › Informations from the environment › Checking library for file names This topic has 2 replies, 2 voices, and was last updated 2 years, 2 months ago by Péter Baksa. Viewing 2 reply threads Author Posts February 26, 2019 at 11:52 #4530 shaun coomberParticipant 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 February 26, 2019 at 11:58 #4531 shaun coomberParticipant For example, is it possible to use n = APPLICATION_QUERY (“LIBRARY_MANAGER”, “”, files_list) for txt files, or only IES and image files? February 27, 2019 at 12:10 #4542 Péter BaksaKeymaster Hi Shaun, no currently it’s not possible. Péter Baksa Library Platform, Software Engineer GRAPHISOFT SE Author Posts Viewing 2 reply threads The forum ‘Informations from the environment’ is closed to new topics and replies.