D
Deb
Docmd.Outputto is not working in Access 2002. I'm trying to export query
results to a txt file. I'm getting "not enough memory" errors when I have
the statement in VBA code. statement is "docmd.outputto acOutputQuery,
"qryxyz", acFormatTXT, , False". The query has an underscore in its name but
I renamed it without that and it still didn't work.
When I unhide the database, go into the query results and choose
File/Export, it complains about the query name or says it can't find it
(based on which output type I choose). This all worked in Access 2000 for me.
results to a txt file. I'm getting "not enough memory" errors when I have
the statement in VBA code. statement is "docmd.outputto acOutputQuery,
"qryxyz", acFormatTXT, , False". The query has an underscore in its name but
I renamed it without that and it still didn't work.
When I unhide the database, go into the query results and choose
File/Export, it complains about the query name or says it can't find it
(based on which output type I choose). This all worked in Access 2000 for me.