Hi,
the syntax of your query looks correct. Open the VBA editor and look at tools/references. Are there any missing entries? Can you use the Format function inside the immediate window? Have you installed all the service packs (Access, MDAC, etc.)? You could also try importing all objects into...