Jump to content

Record count in another table


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

Recommended Posts

I have a main table and a separate table called the checklist which has 7 different people, each with their own checklist.

I'm trying to create a little red number (like the red email number on the bottom of the Mac dock) that shows in real time the number of checklist items for each user in the main table.

 

Is this at all possible without slowing down the system?

 

Link to comment
Share on other sites

Hi,

 

Make a relationship between the two tables if they are not related yet, then use "Count()" function to count related records from the related table. So it is going to be something like this:

 

This is the relation:

Table 1 "StaffID" = table 2 "StaffID"

 

This is the calculation:

Then in table 1 make a calculation field and call it "StaffRecordsCount" for example. The calculation would be "Count(Tabel 2 :: StaffID)".

 

You may name the fields whatever that does make sense to you. 

 

I hope this would help you.

 

Regards,

 

 

Edited by siroos12
Link to comment
Share on other sites

12 hours ago, wattmhite said:

a separate table called the checklist which has 7 different people, each with their own checklist.

What exactly does a "checklist" mean here? If it's a field formatted as checkboxes, why is it necessary to count the related records? Wouldn't it be simpler (and faster) to count the checked values?

Link to comment
Share on other sites

This topic is 2603 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.