Jump to content
Sign in to follow this  
Themusic

How to count unread messages

Recommended Posts

Hi

I'm making a little message system with filemaker 15.

i have 4 tables:

- Users

- messages

- ricipients 

- join table to put together the above tables.

ricipient table is hold 22 records that are the 22 departements in my office.

In the join table there are those fields: id_ricipient_fk, id_message_fk, date and status.

the message table have a field that pick the sender account name

1 - what is the best method to set the "read" status in this table when the user open a message?

2 - how to count "unread" messages for every departements?

p.s. i use a multi data files structure and an interface file.

 

thanks a lot.

Claudio.

Edited by Themusic

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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