Recordset definition

Create the configuration.recordset.xml file in the /config directory. It should contain this code:

<Configuration>
   <Recordset Name="rstSearch">
      <Item FieldName="Search" Type="string" Size="50" Caption="Search"/>
   </Recordset>
   <Recordset Name="rstMail">
      <Item FieldName="Subject" Type="string" Size="50" Caption="Subject"/>
      <Item FieldName="Message" Type="memo" Caption="Message"/>
   </Recordset>
</Configuration>

Explanation of code

This code creates two recordsets. The first is called rstSearch; this will be used in the search page. The second is called rstMail; this will be used in the post page.

Each recordset consists of a set of fields. Each field is described by an Item tag. The properties that are used with each Item tag do not require additional explanation here (see the Built-in tag reference for full details).