Thefunction will connect to an existing database and attempt to modify that database's structure to match the current document.
The modification of existing databases is somewhat imperfect. Best results are achieved with an freshly created and empty database as the target.
Exporting to an existing database is likely to cause loss of data.
See also The Database Export Panel