If you want to enter the dates, you need to set the dates up as parameters and reference the parameters when calling the stored proc
You can then execute the package and pass the parameter values at runtime....or you can make it easy on yourself and get teh date values from another file or database table.....
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
Please read FAQ222-2244 before you ask a question