Good morning,
Have hunted around here and a couple of other forums and am not finding a simple solution to this problem. I am writing a module that will export some report data to excel for the user. I want to check the currentproject.path directory to assure they do not have more than 220 files in there already before allowing the export to occur. I can see the DIR function but don't really see any method to count the files. Do I have to actually create a counter and just loop through the folder using the DIR function to manually count them or is there a more efficient way?
Thanks!
Peggy
Have hunted around here and a couple of other forums and am not finding a simple solution to this problem. I am writing a module that will export some report data to excel for the user. I want to check the currentproject.path directory to assure they do not have more than 220 files in there already before allowing the export to occur. I can see the DIR function but don't really see any method to count the files. Do I have to actually create a counter and just loop through the folder using the DIR function to manually count them or is there a more efficient way?
Thanks!
Peggy