473,378 Members | 1,500 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

send command to other users within access

Hello,

I'd like to send command or message within access to other users who are
connected to the same mdb file.

Is that possible ?

thanks in advance.

Nader
Jun 15 '06 #1
10 3652
"Nader" <na***@infomaniak.ch> wrote in message
news:44*********************@news.sunrise.ch...
Hello,

I'd like to send command or message within access to other users who are
connected to the same mdb file.

Is that possible ?

thanks in advance.

Nader

Yes, use a form in conjunction with the form's timer event. Use it to check
a flag in a table. If the flag is set, open a dialog form with your custom
message which could, for example, be stored in the same table as the flag.

HTH - Keith.
www.keithwilby.com
Jun 15 '06 #2
isn't that timer going take more of my cpu perfomance or at least more
memory usage ?

"Keith Wilby" <he**@there.com> a écrit dans le message de news:
44**********@glkas0286.greenlnk.net...
"Nader" <na***@infomaniak.ch> wrote in message
news:44*********************@news.sunrise.ch...
Hello,

I'd like to send command or message within access to other users who are
connected to the same mdb file.

Is that possible ?

thanks in advance.

Nader

Yes, use a form in conjunction with the form's timer event. Use it to
check a flag in a table. If the flag is set, open a dialog form with your
custom message which could, for example, be stored in the same table as
the flag.

HTH - Keith.
www.keithwilby.com

Jun 15 '06 #3
but what do u mean by check a flag in a table ? is this an option when u
create a table ?
"Keith Wilby" <he**@there.com> a écrit dans le message de news:
44**********@glkas0286.greenlnk.net...
"Nader" <na***@infomaniak.ch> wrote in message
news:44*********************@news.sunrise.ch...
Hello,

I'd like to send command or message within access to other users who are
connected to the same mdb file.

Is that possible ?

thanks in advance.

Nader

Yes, use a form in conjunction with the form's timer event. Use it to
check a flag in a table. If the flag is set, open a dialog form with your
custom message which could, for example, be stored in the same table as
the flag.

HTH - Keith.
www.keithwilby.com

Jun 15 '06 #4
"Nader" <na***@infomaniak.ch> wrote in message
news:44*********************@news.sunrise.ch...
but what do u mean by check a flag in a table ? is this an option when u
create a table ?


Using the timer event will be no noticable overhead on your PC if you set an
interval of, say, 15 seconds. I'm suggesting a table with two fields,
"Flag" (Yes/No) and "Message" (text). Your main form's timer event would
poll the "Flag" field every 15 seconds and do nothing if it returns false.
If it returns true then a second (dialog) form would open and display the
message in the "Message" field.

HTH - Keith.
www.keithwilby.com
Jun 15 '06 #5
If you want it to be unique to user, you would have to add userid or
logon id to the table.

Also will have to have some type of delete logic involved, in all
cases. so that after the user has read it then the message is deleted.
(or add a read flag and have the reading process set that flag)
Otherwise the same message will keep coming up over and over.

If it is for all users (not just one) you will have to think about
knowing who has seen it and who has not and how to keep it from coming
up over and over and over and over.
www.keithwilby.com


Jun 15 '06 #6
"Ron2006" <ro******@hotmail.com> wrote in message
news:11**********************@h76g2000cwa.googlegr oups.com...
If you want it to be unique to user, you would have to add userid or
logon id to the table.

Also will have to have some type of delete logic involved, in all
cases. so that after the user has read it then the message is deleted.
(or add a read flag and have the reading process set that flag)
Otherwise the same message will keep coming up over and over.

If it is for all users (not just one) you will have to think about
knowing who has seen it and who has not and how to keep it from coming
up over and over and over and over.


All valid points and it makes me wonder why the OP would want to do this.
Is it so as to be able to ask users to log out when BE maintenance is
required? If so then there are more elegant ways to achieve this than to
send them a message and rely on them actually being there and complying with
your request.

Regards,
Keith.
Jun 15 '06 #7
My 2 cents.
I have been doing this for several years in our database. We
use it kind of like an instant messaging system. "Hey did you get me
that Part Number" Yes, its 1234" I set it up like an email system.

As the other posters suggested, its just a table. I have the
Senders ID the Receipient(s) IDs, the subject, the message, the Time
sent, and whether is was read or not. Each user sets up a time to be
reminded of messages from One Minute to One Hour and on his front end
only, I look for messages at that periodic rate. As suggested before,
there seems to be little overhead penalty.

It's a convenient, if unsophisticated tool. One good thing is
we have a permanent record of the entire diatribe.

It you need more help, let me know.

Hank Reed

Jun 15 '06 #8
Thanks to all of you.

I'll try this solutions right away.

"Hank" <ha********@aol.com> a écrit dans le message de news:
11**********************@g10g2000cwb.googlegroups. com...
My 2 cents.
I have been doing this for several years in our database. We
use it kind of like an instant messaging system. "Hey did you get me
that Part Number" Yes, its 1234" I set it up like an email system.

As the other posters suggested, its just a table. I have the
Senders ID the Receipient(s) IDs, the subject, the message, the Time
sent, and whether is was read or not. Each user sets up a time to be
reminded of messages from One Minute to One Hour and on his front end
only, I look for messages at that periodic rate. As suggested before,
there seems to be little overhead penalty.

It's a convenient, if unsophisticated tool. One good thing is
we have a permanent record of the entire diatribe.

It you need more help, let me know.

Hank Reed

Jun 15 '06 #9
I'd love to know about the other ways you have in mind. I use a table
similar to the one described and would love to know another way to go at it.
Jun 16 '06 #10
<w_a_n_n_a_l_l_ -@-_s_b_c_g_l_o_b_a_l._n_e_t> wrote in message
news:B1*******************@newssvr27.news.prodigy. net...
I'd love to know about the other ways you have in mind. I use a table
similar to the one described and would love to know another way to go at
it.


Why bother asking the user to log out when you can force them off without
their intervention? You'd still use a table but that table would contain
either a time to log off, a specific user to log off or a specific computer
name to log off. It's a system I use and it works without fail.

Keith.
Jun 16 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Richard H | last post by:
Hi, I am building a site for a client which has an enquiry form on it. Normally I would something like PHP to send the form but the client doesn't want to pay for a server that supports PHP, so...
6
by: Mark R | last post by:
Hi Guru's, I have a frontend application where my boss wants to when people are using the database. I have a form which OnOpen, inserts the username, network login and date/time it was opened to...
5
by: randyelliott | last post by:
Good Day, I have a MS Access (Access 2000 now upgraded to 2003) database that tracks customer information. One function of this database is to create an encrypted license file for our software,...
14
by: Kevin | last post by:
A couple of easy questions here hopefully. I've been working on two different database projects which make use of multiple forms. 1. Where's the best/recommended placement for command buttons...
11
by: jobs239 | last post by:
Can I use this line inside C program "system(java -jar <jarfilename>)" to run a java program from C? Or do I have to use some JNI interface.?
17
by: rdemyan | last post by:
My app creates a building report. My users have requested that I provide functionality to e-mail these "building reports" to building managers once a month. So assuming that I have the...
0
by: maykil ceksin | last post by:
Hi, Is there anyone knows which user profile is using by IIS while running an DOS application within asp with wshell.run command. To describe my problem clear; I'm using a DOS command and...
4
by: Joseph Geretz | last post by:
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code...
5
by: Mike | last post by:
I am calling an event from the on click event of a command button. I cant however figure out how to refrence "which" button was clicked in the first procedure, in the second procedure... In...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.