> I just tried the 2nd example at this url and it starts out as:
> Dim Q As QueryDef
[quoted text clipped - 5 lines]
>
> FYI, I am patched to sp-3 and the latest Jet.
In a VBA module, on the menu bar, select Tools > References. In the
list box check the Microsoft DAO 3.6 Object Library. Then click OK.
In Access 2000 the new data access class is ADO.

Signature
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)