January 25, 200520 yr 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!
January 25, 200520 yr 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).
January 25, 200520 yr Author Yes, you made me see it a lot more clear! I'll rearrange and add another table, that will work. Thanks!
Create an account or sign in to comment