Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi Everyone!

I've developed a database that runs on Filemaker Server with about 10 users that acts like an internal mail program. What I'm wondering is if there is anyway of triggering a script on other users computers that would alert them that a new record had been created in the "Mail Database". A sort of "You've got Mail!" message.

Right now, they have to periodicly go into the mail database to check if any new messages have been created.

If anyone has any suggestions, it would be much appreciated!

Cheers,

Christian Knudsen

Toronto, Canada

Posted

Thanks!

I guess there's no way to do it using the native abilities of Filemaker? I had thought there might be something, since Filemaker Server allows the Administrator to send an instant message to users.

If not, then I will recomend that the client purchase this plug-in.

Cheers,

Christian Knudsen

Toronto, Ontario

Posted

Here's an (untried) idea:

Although this may not be entirely what you're looking for, you could have a calculated field, e.g.,

User_Mail_Count = Count(Persons_Mail::Mail_ID),

where Persons_Mail is a relationship matching the user's unique id in the main file and the user id stored with each mail item in the mail database.

Then you could have another calculation text field, e.g. Mail_Message, which would be something like:

Mail_Message = "You have " & User_Mail_Count & " messages waiting".

Stick Mail_Message as a merge field on each of your layouts and your users will be able to see at a glance whether they have mail or not. No bells or whistles, I'm afraid.

Posted

cool.gif

Here's an 'extension' to Peter's ideas...

How about an 'unread flag' for every new message. When a message is opened, the flag is changed to 'read'. This 'flag' could be 'related' in a way that will 'trigger' a global container field that will be set to display a 'warning' in an 'unused' area of the file the user has open.

In other words... the users open file 'interpets' the message 'unread flag' and changes the 'warning' field from 'empty' to "You Have an Unread Message!". Or, as Peter suggested... have the 'count' of 'unread flags' display the 'warning' "You Have 5 Unread Messages!"

Hope this helps...

Bob Kundinger

cool.gif

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