Hello,
in my application, I have to display data from an Access table on an HTML page. Some
of the fields in the table are
empty and I have make sure that even if they are empty, the cell gets displayed as a
regular empty white cell.
(To make a long story short, I created two tables one nested into another, so that one
table whould have certain background
color and another would have the info itself, and when they get displayed, the upper
table's background color becomes the border
color of the second table).
The problem is that I have some columns that are static and others that are HREFs. I
was able to write code for the static
columns (I also had to change HTMLescaping to "True"), but the same code doesn't work
for the HREFs, for some
reason. Any ideas why? Here's the code that I use for static fields:
//[[SPIDER_EVENT<Main_Status_onBeforeDisplayEvent>
public int Main_Status_onBeforeDisplayEvent(CSpDisplayEvent event)
{
CSpDisplayField fieldValue = (CSpDisplayField) event.getSource();
if (fieldValue.getValue().toString().equals("")) {
fieldValue.setValue((CSpValue) new CSpString("."));
}
return (PROCEED);
}
//]]SPIDER_EVENT<Main_Status_onBeforeDisplayEvent>
I would really appreciate your help.
Thanks,
Rimma
_________________________________________________________________________
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]