I don't think SRND returns a value...

Instead of $=SRND(@msecs)

It should be:

SRND(@msecs)

Brian

(although I doubt this will fix the problem.)

[ 18 June 2002, 16:57: Message edited by: BrianTX ]