Jump to content
wattmhite

Record count in another table

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?

 

Share this post


Link to post
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

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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