Hi,
I have starnge problem… I am using scheduller and reading dirrectory using File table, process files and delete them. But when scheduller runs next time File variable still see old files that does not exist.
I have tryed RESET, CLEAR, SELECTLATESTVERSION… Nothing works…
are you using “erase”, “open” & “close” in your code somewhere?
Oops , i didn’t see your talking about clearing a variable [:S]
Yes, i use erase to delete file. But when scheduller runs next time it still see the file.
As stupid as it may sound, try and do something like:
[code]File.SETRANGE(Path,‘c:’);
IF File.FINDFIRST THEN;[/code]
before you look at your directory. It only updates the variable when you change your filtering.