ник: Lukas
по 2 . Надо хорошенько обкурить, подумаю.
по 5. У меня идея пока такая:
With New clsExport2HTML
'Optional Style Properties:
'.hexBodyBackground=
'.TitleFont=
'.TitleFontSize=
'.hexTitleBackground=
'.hexTitleForeground=
'.TableBorder=
'.CellPadding=
'.CellSpacing=
'.hexBorderColor=
'.hexTableBackground=
'.hexTableForeground=
'.HeaderFont=
'.HeaderFontSize=
'.hexHeaderBackground=
'.hexHeaderForeground=
'Methods:
'Preparation
.Initialize strTitleOfHTML, strExportFilePath
'Add RecordSources
.AddTableList strSQL1, strTitleOfTable1 'Add Table - List Items
.AddTableEAV strSQL2, strTitleOfTable2 'Add Table - Single Item
.AddTableDateIntervals strSQL3, strTitleOfTable3, _
strItemCaption3, datFromDate3, _
strIntervalType3, intCountIntervals3 'Add Table - time-schedule
'AddTable... N
'Execution
.Export blnShowNow
End With
|
То есть, в каждом конкретном случае набор выводимых таблиц можно подстраивать под задачу,
генерируя строки SQL на лету (или по набором шаблонов) и добавляя их к выводу.
Сообщения пока никак, пока только в голове. Но скорее всего файл в аттачменте будет.