Kelvin Chua
|
| Posted: 07/12/2001, 10:52 AM |
|
Hi there,
Does anyone knows how to display the No. of related records within a TREE.
Lets' say I have the following TREE.
Chemistry Books
Biology Books
Computer Science Books
In Chemistry and Biology books, there are no sub-levels. Whereas, for
Computer Science books, there are another 3 sub-levels. Lets' say I need to
display the information in this manner.
Chemistry Books (25)
Biology Books (38)
Computer Science Books (5 sub categories)
Is it possible?
Thanks in advance.
Kelvin Chua
SINGAPORE
|
|
|
 |
Tony Tomov
|
| Posted: 07/13/2001, 12:49 AM |
|
My first idea is:
Create (add) in the tables two more numeric fields:
the one should be the number of items the second one should be the number of sub
levels.
If you add (or delete) records in the tables you should increment (decrement)
the number of releted items. Then it is easy to display that numbers in the form
Regards
Tony tomov
Kelvin Chua wrote:
> Hi there,
>
> Does anyone knows how to display the No. of related records within a TREE.
>
> Lets' say I have the following TREE.
>
> Chemistry Books
> Biology Books
> Computer Science Books
>
> In Chemistry and Biology books, there are no sub-levels. Whereas, for
> Computer Science books, there are another 3 sub-levels. Lets' say I need to
> display the information in this manner.
>
> Chemistry Books (25)
> Biology Books (38)
> Computer Science Books (5 sub categories)
>
> Is it possible?
>
> Thanks in advance.
>
> Kelvin Chua
> SINGAPORE
|
|
|
 |
Kelvin Chua
|
| Posted: 07/13/2001, 1:13 AM |
|
Hi Tony,
Thanks for the reply. I thought there are easier way as CodeCharge is
controlling the TREE structure, it will be easier for them to insert a
checkbox option to display the total number of records in the TREE as per
what they had did for the PREVIOUS NEXT 1 OF 13 at the GRID.
Thanks.
Kelvin Chua
SINGAPORE
"Tony Tomov" <ttomov@abs.bg> wrote in message
news:3B4EA86E.5502810C@abs.bg...
> My first idea is:
> Create (add) in the tables two more numeric fields:
> the one should be the number of items the second one should be the number
of sub
> levels.
> If you add (or delete) records in the tables you should increment
(decrement)
> the number of releted items. Then it is easy to display that numbers in
the form
>
> Regards
> Tony tomov
>
> Kelvin Chua wrote:
>
> > Hi there,
> >
> > Does anyone knows how to display the No. of related records within a
TREE.
> >
> > Lets' say I have the following TREE.
> >
> > Chemistry Books
> > Biology Books
> > Computer Science Books
> >
> > In Chemistry and Biology books, there are no sub-levels. Whereas, for
> > Computer Science books, there are another 3 sub-levels. Lets' say I
need to
> > display the information in this manner.
> >
> > Chemistry Books (25)
> > Biology Books (38)
> > Computer Science Books (5 sub categories)
> >
> > Is it possible?
> >
> > Thanks in advance.
> >
> > Kelvin Chua
> > SINGAPORE
>
|
|
|
 |
David A. Lee
|
| Posted: 07/27/2001, 5:22 PM |
|
I have a similar problem, I want to sort the tree alphabetically , not by
topic_id ..
And same problem ... CodeCharge doesnt provide enough Event's to do this.
The suggestion about new columns wont work, because there is *no way*
to have codecharge display these extra columns (No 'Before Show' event
for each row to add in the extra values.
ug ug ug.
And no "Custom Show' to totally replace the tree form with my own code
anoying isnt it 
> Hi Tony,
>
> Thanks for the reply. I thought there are easier way as CodeCharge is
> controlling the TREE structure, it will be easier for them to insert a
> checkbox option to display the total number of records in the TREE as per
> what they had did for the PREVIOUS NEXT 1 OF 13 at the GRID.
>
> Thanks.
>
> Kelvin Chua
> SINGAPORE
>
> "Tony Tomov" <ttomov@abs.bg> wrote in message
>news:3B4EA86E.5502810C@abs.bg...
> > My first idea is:
> > Create (add) in the tables two more numeric fields:
> > the one should be the number of items the second one should be the
number
> of sub
> > levels.
> > If you add (or delete) records in the tables you should increment
> (decrement)
> > the number of releted items. Then it is easy to display that numbers in
> the form
> >
> > Regards
> > Tony tomov
> >
> > Kelvin Chua wrote:
> >
> > > Hi there,
> > >
> > > Does anyone knows how to display the No. of related records within a
> TREE.
> > >
> > > Lets' say I have the following TREE.
> > >
> > > Chemistry Books
> > > Biology Books
> > > Computer Science Books
> > >
> > > In Chemistry and Biology books, there are no sub-levels. Whereas, for
> > > Computer Science books, there are another 3 sub-levels. Lets' say I
> need to
> > > display the information in this manner.
> > >
> > > Chemistry Books (25)
> > > Biology Books (38)
> > > Computer Science Books (5 sub categories)
> > >
> > > Is it possible?
> > >
> > > Thanks in advance.
> > >
> > > Kelvin Chua
> > > SINGAPORE
> >
>
>
|
|
|
 |
|