Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-2008, 04:03 PM
=?Utf-8?B?UGFzcy10aGUtcmVhbGl0eQ==?=
 
Posts: n/a
Alerts

We have an Access database that we use for a call center. Periodically I
need to notify the team if something is urgent. Since the team always has
the Access database up, I wanted to see if we can add code to the database
that will allow us to generate a pop up box alert. Please let me know if
this is an option. Thanks!
Reply With Quote
  #2 (permalink)  
Old 09-08-2008, 04:59 PM
Dirk Goldgar
 
Posts: n/a
Re: Alerts

"Pass-the-reality" <Passthereality@discussions.microsoft.com> wrote in
message news:3F221978-42CE-4EF0-B3C6-C4D8E3A2755B@microsoft.com...
> We have an Access database that we use for a call center. Periodically I
> need to notify the team if something is urgent. Since the team always has
> the Access database up, I wanted to see if we can add code to the database
> that will allow us to generate a pop up box alert. Please let me know if
> this is an option. Thanks!



Here's a rough outline of how you might do this.

You could have an Alerts table in the shared back-end database with fields
for AlertID (autonumber PK), Message (text), DisplayAfter (date/time), and
maybe ExpireDate (date/time, optional). In each user's copy of the
front-end you would have a table of AlertsDisplayed, with fields AlertID
(long integer, FK to Alerts) in which would you would record the fact that
this particular front-end has displayed a given alert. You could use a
Timer event on a form that is always open (maybe hidden, unless you have
some form already that is always kept open), and in that Timer event check
to see if there is a record in the Alerts table that is not represented in
the AlertsDisplayed table, and where DisplayAfter <= Now() and ExpireDate >
Now(). For each such record, open an Alert form in dialog mode to display
the message. When the user closes the form, write a record into
AlertsDisplayed to indicate that that alert has been displayed to this user.
Thus, the alert would not be shown again to that user.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:27 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Mortgages | Loans | Loans | Credit Cards | Mobile Phone



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114