Search found 9 matches
- Mon Jul 24, 2006 7:39 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
The correct is: VBSTART Function LastCreated(folderspec,filespec) Dim fso, f, f1, fc, s, lastfiledate, latestfile lastfiledate = 0 Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(folderspec) Set fc = f.Files For Each f1 in fc if InStr(f1.Name,filespec) > 0 then If f1.DateC...
- Mon Jul 24, 2006 7:29 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
- Mon Jul 24, 2006 7:10 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
- Mon Jul 24, 2006 4:46 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
- Sun Jul 23, 2006 9:51 pm
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
- Sat Jul 22, 2006 9:05 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
- Sat Jul 22, 2006 8:39 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
- Sat Jul 22, 2006 8:04 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
There are others files in directory. I want parse the names , but i want take just the main line ignoring the date and hour in name. Then i take the most updated file with "Updated Report - 'xxxxxxxx'" in name and read the file. Example: Updated Report - 'Car Sales' - Date 2006.7.22 - Hour 15.10.txt...
- Sat Jul 22, 2006 7:31 am
- Forum: Technical / Scripting
- Topic: Help ! I want read always the last report saved
- Replies: 11
- Views: 12116
Help ! I want read always the last report saved
I want read always the last report saved and send to a variable. These reports are saved all time. Example: Updated Report - 'Car Sales' - Date 2006.7.22 - Hour 15.10.txt Updated Report - 'Car Sales' - Date 2006.7.22 - Hour 16.11.txt Updated Report - 'Car Sales' - Date 2006.7.22 - Hour 16.35.txt Upd...