Forum Discussion
Dmitry_Nikolaev
15 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;
Related Content
- 3 years agogroovyguy
Recent Discussions
- 15 hours agotorus
- 20 hours agomegha_phophalia
- 20 hours agomegha_phophalia