B
Becca
I am having trouble with a macro which is intended to
export the results of the query. It simply uses
an "Export To" function to export to excel.
The first time the macro runs, it works fine. The problem
is, it (sometimes) seems to delete the criteria for the
query itself when it runs. So that the second time I try
to run the macro, it gives me an error message that
the "Query must have at least one destination field." And
when I go to view the query in design or SQL, it is, in
fact, emptied out.
Any thoughts at all? I'm not sure how to fix this.
Thanks,
Becca
export the results of the query. It simply uses
an "Export To" function to export to excel.
The first time the macro runs, it works fine. The problem
is, it (sometimes) seems to delete the criteria for the
query itself when it runs. So that the second time I try
to run the macro, it gives me an error message that
the "Query must have at least one destination field." And
when I go to view the query in design or SQL, it is, in
fact, emptied out.
Any thoughts at all? I'm not sure how to fix this.
Thanks,
Becca