Skip to main content

empty tables for export

Hello,
How to control if an extraction is empty, which macro continues to export and does not give me a stop. o Idea does not export empty tables?

Brian Element Tue, 08/09/2022 - 08:42

You can check to see if the database is empty before continuing.  

dim db as database

set db = client.opendatabase("My database.imd")

if db.count = 0 then

     'do nothing as it is empty

end if