I am so very new to this I am almost embarassed to post.
In this scenario:
Data files incoming from different sources.
Multiple files are required to proceed.
Files are being dropped in a particular folder.
So, I want to:
Dim sFileA = c:\File_1.txt
Dim sFileB = c:\File_2.txt
Dim sFileC = c"\File_3.txt
count n = 1
If Exists (sFileA, sFileB, sFileC) = No
wait for 30 seconds
count = n + 1
if n < 11
loop
else
exit
So the theory is:
If all three files do NOT exist
add 1 to my count
wait for 30 seconds
if my count is less than 11
loop back to check again
else exit
barring major infrastructure issues, the files never fail to show up in five minutes. if they do fail to show up, someone has bigger issues than me not being able to generate my report data.
Thanks for looking. I'm searching here now, but wanted to post this while I search to see if anyone can offer up a hint.
Best regards,
-boggsie
In this scenario:
Data files incoming from different sources.
Multiple files are required to proceed.
Files are being dropped in a particular folder.
So, I want to:
Dim sFileA = c:\File_1.txt
Dim sFileB = c:\File_2.txt
Dim sFileC = c"\File_3.txt
count n = 1
If Exists (sFileA, sFileB, sFileC) = No
wait for 30 seconds
count = n + 1
if n < 11
loop
else
exit
So the theory is:
If all three files do NOT exist
add 1 to my count
wait for 30 seconds
if my count is less than 11
loop back to check again
else exit
barring major infrastructure issues, the files never fail to show up in five minutes. if they do fail to show up, someone has bigger issues than me not being able to generate my report data.
Thanks for looking. I'm searching here now, but wanted to post this while I search to see if anyone can offer up a hint.
Best regards,
-boggsie