View Single Post
  #7 (permalink)  
Old 02-25-2010, 05:40 AM
trentonponder trentonponder is offline
Senior Member
 
Join Date: Jan 2009
Posts: 100
Default

Quote:
Originally Posted by forumsupport View Post
Hello,

May we please know the type of file operation(s) that you need to perform with files whose 'Modified Date' = a specific date?
Loop through files in folder
If 'modified date' > 30 days ago then
Exit Loop
End If
SQL SELECT using $FileName$
Loop through SQL
IF $Database Column(1)$ includes "xxxxx" then
SQL Insert
SQL Update
Email
End Loop
End Loop


This is only efficient if I can loop in order of 'modified date.' That way as soon as it encounters documents modified 30 days ago it will exit the loop. Thus it won't waste hours (literally) looping through files I don't want it to check.

Thanks!
Reply With Quote