Go to the first, previous, next, last section, table of contents.


RECORD

This macro defines the text body for each record. This is where references to fields will normally be made. References made to fields in other text bodies will always use the first or last records in the master database file. The record text body is written out for each record in the master database file (after all the sorting and filtering has been done). Below is an example program fragment which gives some idea of what a record text body field might look like.

%%RECORD
\begin{list}
\item[{\bf Name:}] %TITLE %SURNAME,%INITS
\item[{\bf Start Year:}] %YEAR
\item[{\bf A/C No:}] %ACCOUNT_NO
\item[{\bf Balance:}] \pounds%BALANCE
\end{list}

If no RECORD is defined a default record is generated which is the contents of each field in the master database file separated by the first character in the value of DELIM. This behaviour can be stopped by creating a RECORD definition (which could just be empty).

Note that the GPPRECORD and TEXRECORD predefined macros which the above replaces are deprecated and should not be used.


Go to the first, previous, next, last section, table of contents.