Export Query

Nero

Shop smart, shop S-Mart
Local time
Today, 21:48
Joined
Jan 8, 2002
Messages
217
I have a query which exports data as a .txt file.
Is there a way of stopping the export if no data is returned from the query, something similar to the report On NoData event ???
 
You don't say how the export is triggered but

if (dcount("*", YourQuery) > 0 then export

is one way to do it.

shay :cool:
 
Shay,
Thanks for your reply.
The query is triggered through code.
I will give your suggestion a go.

Thanks again
 

Users who are viewing this thread

Back
Top Bottom