Skip to main content
Version: 3.1.X

Gizmo

A useful parameter is gizmo. (=> <parm name=gizmo>). It makes a reference to a gizmo database.

For example, if you have a gizmo database called GIZ1, the line would read:

<parm name=gizmo>giz1</parm>

A gizmo database is used to convert a character or string of characters in the main database into another character or string of characters for display purposes. Most often, it is used to convert "special characters" such as é, ç or Ñ into text representations which will display correctly in HTML (&eacute; &ccedil; and &Ntilde;).

The text versions can be found in books on HTML.\ The gizmo database is a normal CDS/ISIS database with these two fields defined:

  • Input value
  • Output value The data entry worksheet and display format can be very basic and you do not need a Field Select Table. Each special character and its text version are then entered in a separate record in the database, e.g.
MFN 1
field 1é
field 2é
MFN 2
field 1ç
field 2ç
MFN3
field 1Ñ
field 2Ñ

Note that the location of the gizmo file must be specified with the cipar parameter, e.g.


<parm name=cipar>
giz1.*=c:\bases\giz1.*
</parm>