an impressive piece of scripting...yet the dll option still seams simpler...

IIRC the dll also allows access to remote databases