![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 202
1998-2004 Gravitybox Software LLC
PageTitle - This is the title given to the page. If
generating a full HTML page this is also visible at the
top of the page.
HTMLHeader - This is any addition HTML that you wish
to appear above the table.
HTMLFooter - This is any addition HTML that you wish
to appear below the table.
TableOnly - This will specify if you wish to have an
entire page with page headers and footer and page
tags or if you wish only the table definition to appear in
the file.
FileName - This is the filename that will receive the
generated HTML.
Overwrite - If the Filename exists and Overwrite is true
then the old file will be overwritten by the newly
generated HTML. If the Filename exists and the
Overwrite is false then NO HTML will be generated at
all.
ExportXML
Function ExportXML(oXMLParameters As
CXMLParameters) As Boolean
Although you will probably loop through the collections
and store the information in a database, there is an
alternative. The schedule has its own file format that
can be used instead of a database. If you are designing
a "light" program and do not wish to distribute a full-
blown database like MS-Access, you can use the
ImportXML and ExportXML methods to save
information without a database.
The parameter object allows you to control what will be
saved to the file. Seven collections can be saved from
this method. The ScheduleItems collection is always
saved, which means there are 6 collections that can be
conditionally saved.
The parameter object has the following properties:
Filename - This is the full path of the file to use to
which to save the data.
Overwrite - If the specified file already exists, this flag
will determines if the file is overwritten or the save is
canceled.
UseCategories - determines the loading/saving state of
this collection
UseNoDropAreas - determines the loading/saving state
|