Haven't had time to play around with the DB stuff since my last post, never got it working however. I tried your suggestion Michael, it results in:

Script error: IDispatch pointers not allowed in expressions!