TransferSpreadsheet with SQL String

naungsai

Abecedarian
Local time
Today, 15:40
Joined
Sep 8, 2008
Messages
123
Dear folks
In the place of “Table Name” below, I have put the name of one of my sql table.

DoCmd.TransferSpreadsheet acExport, , "qF01", "D:\Stock.xls", True, "Form01"

I want to know whether I could put the sql string like “Select * from qF01”.
Thanks in advance.
 

Users who are viewing this thread

Back
Top Bottom