Hi,
To update your FILE record in Navision, set a different filter and find something, anything. After that you can reset (set again) your filters and your record is updated.
Sample
files.setrange(path, 'c:\foo\bar\');
repeat
if files.find('-') then
movefile;
until foo = bar;
The find will ALWAYS find the same file. Change your code to:
Sample
repeat
files.setrane(path, 'c:\');
files.find('-');
files.setrange(path, 'c:\foo\bar\');
if files.find('-') then
movefile;
until foo = bar;
And you're on!