Skip to content


July 17, 2008

The BuildReport procedure is a basic file creation script. It verifies that the folder that is passed in exists before processing anything. I could have made the script create the folder if it didn’t exist, but in our environment a given user may not be able to create a directory. This way it logs the error in the application log for later review.

This procedure accepts two parameters:

  • strFileName
  • strFilePath


This is the filename and extension of the file you are creating.


This is the path to the file including drive letter assignment. If the folder doesn’t exist, the procedure logs an error and exits the routine.


From → Scripting

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: