My advice would be to rename all of the tables and fields to eliminate the
spaces.
If that's not possible, using square brackets around the names should work:
SELECT [Field 1], [Field 2] FROM [My Table]
--
Doug Steele, Microsoft Access MVP
(No private e-mails, please)
KBrad said:
I have inherited an Access database which has spaces in table names - do
I
need to get rid of the spaces before using the db with asp? If not how do I
handle them?