Jump to content

Only group headers in portal - how?


arvids

This topic is 7002 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a DB with a varying number of records per client. (I.e. client A have 5 records, client B have 1 record, client C have 12 records, client D have 0 records and client E have 3 record)

One part of the DB shold in a portal reflect what clients (at that time) have records, and how many. Something like this:

Portal

-------

A 5

B 1

C 12

E 3

-------

This portal will serve as an index, for a CD backup of client material.

Is this possible? I have a feeling I have seen something similar before, but can not remember how/where??

Regards!

Link to comment
Share on other sites

I wonder about your database structure. There should be at least two tables here: Client and Activity. (Client and Activity are linked by ClientID). You can show Activity records in a portal in Client. Add a field (in Client) to count the records in the portal: count_act = Count(Activity::clientID).

Link to comment
Share on other sites

This topic is 7002 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.