Reporting to generic databases.

When you are reporting from an unknown database (for example if you are writing a DbExport app), you can't use a fixed template, because the fields might change. For another demo of this feature see the DbDump app in the demo folder.

Concepts shown
•	##Database##* Use this directive to dump an entire database to the excel sheet. 

•	Rows are inserted as needed, but columns to the right will just be overwritten. (Do not write nothing to the right of ##Database##*)

•	You can use this for generic reporting, or also to dump a known database, and not writing all the field names. Also, it's a bit faster, but even so, I would not recommend this approach as a general one.

•	Column captions are extracted from the DISPLAYTEXT property of the fields. If you are not creating a generic report, you can modify this property directly in the object inspector.

•	The format of the inserted rows will be copied from the row just below the row containing “##db””*” Do not write “…delete row…” on this line, it will be automatically deleted if the dataset is empty.