Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi Brave,
Files in the Stores collection are actually stored on a disk. You can get their path by using the FileNameByName method.
procedure test;
var
fileName,
textVar;
begin
fileName := Files.FileNameByName('myQuery.sql');
textVar := aqFile.ReadWholeTextFile(fileName, aqFile.ctANSI);
Log.Message('See the file content in the Remarks pane', textVar);
end;