Les,

Arrrh, tried using the Datemath function but am getting a Script error: expected expression ! Am just testing how it work with the examlpe, $LastWeek=DateMath(@Date,-7)

What am i doing wrong. the functions are at the end of my sript file.

Colin