Traversing through a table

Jeff Shepherd jeff at trg.saic.com
Fri Oct 18 16:14:12 PDT 2002


Let's say I've got a table called scratchpad.fruit and within the 
fruit table I've got names and values that look like this

Name	Value
apple	red, crunchy, round
grape	green, soft, oval

I want to generate HTML code from the table that looks like this

<TABLE>
<TR><TD>apple <TD>red <TD>crunchy <TD>round
<TR><TD>grape <TD>green <TD>soft <TD>oval
</TABLE>

I can do the nitty-gritty about extracting values from a 
comma-delimited string and returning the generated HTML text.  What I 
would like some advice on is how to traverse the table.  Should I use 
table.visit() or a target.set() and table.go() or something else?  Or 
should I approach this a different way? (I'm trying to get a table of 
information in Frontier processed for a web page. I thought about 
using an outline, but the information in an outline is too vertical 
(visually) and I wanted to see it within Frontier more like a 
spreadsheet)

  - Jeff -
-- 
Jeff Shepherd <jeff at trg.saic.com>
--
I love you, not only for what you are, but for what I am when I am with you.
		-- Roy Croft



More information about the Frontier-Users mailing list