Opening Text Files

Is it possible to open a text file in a specific folder without knowing the actual file name? Thanks in advance Rob

Yes. You can work with the virtual table “File”. Set filter to the folder where your files are and loop the files


Remember to point somewhere else with SETRANGE and do a FIND(’-’) and SETRANGE again to your folder to “refresh” the recordset if You are polling the folder for new files. Otherwise you will not see the new files.