Hi,
I am having a bit of a problem with TransferText macro.
I am using TransferText, Export Delimited (no field names) to export the results of a query as a .csv file.
The query is based on a linked table and uses a CDate([Nom_Date]) expression to convert the timestamp field (Nom_Date) from the table to a date type and the criteria:
Between (Now()-183) And Now() to narrow results to the last 6 months.
The query works just fine on its own and returns the expected results.
The macro, if run using the underlying table rather than the query, also works fine - it does take around 40 minutes (hence trying to trim the data down to the last 6 months!) but it does work.
When I run the macro using the query, it just hangs. Access stops responding, the status bar shows "Exporting" but never gets beyond 1 bar and task manager shows Access as not responding.
In fact it freezes my whole machine up, sometimes even stops updating the system time in the systray.
Access 2002 running on XP.
Does anyone have any idea why this might be.
Any help gratefully received.
Cheers,
Olly
I am having a bit of a problem with TransferText macro.
I am using TransferText, Export Delimited (no field names) to export the results of a query as a .csv file.
The query is based on a linked table and uses a CDate([Nom_Date]) expression to convert the timestamp field (Nom_Date) from the table to a date type and the criteria:
Between (Now()-183) And Now() to narrow results to the last 6 months.
The query works just fine on its own and returns the expected results.
The macro, if run using the underlying table rather than the query, also works fine - it does take around 40 minutes (hence trying to trim the data down to the last 6 months!) but it does work.
When I run the macro using the query, it just hangs. Access stops responding, the status bar shows "Exporting" but never gets beyond 1 bar and task manager shows Access as not responding.
In fact it freezes my whole machine up, sometimes even stops updating the system time in the systray.
Access 2002 running on XP.
Does anyone have any idea why this might be.
Any help gratefully received.
Cheers,
Olly
Comment