\usemodule[database]

\startsetups Table:EXT
 \setupTABLE[style={\switchtobodyfont[9pt]}]
\stopsetups


\defineseparatedlist
 [MyTableExt]
 [separator=tab,
  left=\bTD,right=\eTD,
  first=\bTR,last=\eTR,
  setups=Table:EXT,
  before=\bTABLE,after=\eTABLE]

  \setvariables[desc][
    fieldHeading=\bf Field name	\bf Field type	\bf Field modifiers	\bf Field constraints	\bf Comments/Usage	,
  ]

\starttext

\startMyTableExt
Table name
Table summary
\getvariable{desc}{fieldHeading}
\bf Field name	\bf Field type	\bf Field modifiers	\bf Field constraints	\bf Comments/Usage
id	CHAR(16)	NOT NULL	PK	
Table constraints
\stopMyTableExt

\starttable[|l|l|l|l|l|]
\HL
\VL \use{5} Table name \VL \SR
\HL
\VL \use{5} Table summary \VL \SR
\HL
\VL \bf Field name \VL \bf Field type \VL \bf Field modifiers \VL \bf Field constraints \VL \bf Comments/Usage \VL \SR
\HL
\VL \use{5} Table constraints \VL \SR
\HL
\stoptable

\stoptext
