Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getfile newest
#1
Hello there!

I'm trying to do something that I'm having a little trouble doing.
I'm saving a file and it's name it's the date and time that I stored into a variable called 'xs'.

f1.setfile(F"D:\export\cstotal\{xs}.txt")

Now this saves a file every couple of seconds and what I want to do is get the newest file with get file.
Since I don't know what time it is by the time I get the file I just need to tell QM that I want the newest one.
Can that be done? I'm sure it can...

Thank you very much for your time Smile

Pedro
#2
In floating toolbar find dialog "Enumerate files", create code that gets file time, then compare time using operator > etc.
#3
Thanks!


Forum Jump:


Users browsing this thread: 1 Guest(s)