Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I was wondering if anybody k

Status
Not open for further replies.

rtrajkov

Programmer
Mar 24, 2002
9
AU
Hi,

I was wondering if anybody knew of a way to represent
a heirarcacle data tree which is able to return the selected
value, like the TreeView control in VB 6.

I would like to display product categories and the
individual products underneath them, ie.

PRODUCT CATEGORY 1
product 1a
product 1b
PRODUCT CATEGORY 2
product 2a
product 2b


All the trees I have seen on the web are focused on sight navigation, which is pretty useless for me, not to
mention that it wont be feasible with thousands of records
to sort through.

If anybody could please help me out or lead me in the right
direction I would really appreciuate it, my boss is busting my hump to do this.

Thanks, Rob
 
I'm sure you do not want to show 'thousands of records' on 1 screen. I presume every row has a key? Then it should not be hard to write a program that produces something like this [pseudocode]:

<a href=cat.asp?id=1>PRODUCT CATEGORY 1</a>
<a href=product.asp?id=1a>product 1a</a>
<a href=product.asp?id=1b>product 1b</a>
<a href=cat.asp?id=2>PRODUCT CATEGORY 2</a>
<a href=product.asp?id=2a>product 2a</a>
<a href=product.asp?id=2b>product 2b</a>

?
br
Gerard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top