Hows about creating a static text field
called stColspan and set the column span
value using setHtmlText() on the fields
onBeforeHtmlOutput() event. Put the
**stColspan** in the html eg,
<tr colspan="**stColspan**"</tr>
The dynamic column can be represented by
another static text field named stColumn,
and the value of this field set in
onBeforeHtmlOutput using get/setHtmlText()
as follows -
CSpStaticText st = (CSpStaticText) event.getSource();
//get the existing value of the text field
String sValue = st.getHtmlText();
//turn this into a dynamic html column
if (value is to be displayed) {
st.setHtmlText("<TD>" + sValue + "</TD>");
else { st.setHtmlText(""); } //blank
-------
Martin.
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]