I am new to Access VBA. We have an Access database which 20 staff are working together . i want a anyone to help me set up the popup message and notification to all the active users. The backend database is put on the company network drive. Much appriciated if anyone could give me VBA codes, thanks for your kindness in advance. I cannot access external websites from my office PC. I request some one to send me full VBA code so that I can copy and send it to my official email address and use it on our database .
Thanks in advance
Hi Rosh.
Welcome to Bytes.com :-)
Please understand that we are not comfortable with requests for free code to be done for you. See How to ask "good" questions -- READ BEFORE SUBMITTING A QUESTION! for what we are expecting to work with as volunteers offering our expertise here for free.
While this thread is always visible at the top of the forum we certainly don't get surprised when we find some new members have not read it, so don't get hung up on getting it wrong. We don't.
Simply figure out if what we offer can be of help to you (Sometimes it can't.) and, if it can, then post a thread which conforms to the requirements and we can take it from there.
3 20853 NeoPa 32,556
Expert Mod 16PB
Hi Rosh.
Welcome to Bytes.com :-)
Please understand that we are not comfortable with requests for free code to be done for you. See How to ask "good" questions -- READ BEFORE SUBMITTING A QUESTION! for what we are expecting to work with as volunteers offering our expertise here for free.
While this thread is always visible at the top of the forum we certainly don't get surprised when we find some new members have not read it, so don't get hung up on getting it wrong. We don't.
Simply figure out if what we offer can be of help to you (Sometimes it can't.) and, if it can, then post a thread which conforms to the requirements and we can take it from there.
I agree with @NeoPa's comments.
In any case, any code that could be provided would need to be edited by you to alter it for your system
With that in mind, see the attached Almost Instant Messenger app which was posted some time ago at another forum.
Its not my code and its very much up to you to see whether it can be adapted for your purposes
Sorry for the late reply.
We don't have access to external files. Neither we can receive an external database that's why asked for vba codes. I have found the below code from the forum but it's not running throwing errors.
My table name is message
Textbox is message body
Command button is Btnsend
Listbox is Txtmessagelist
I have changed the details to match with mine
But it's throwing errors. I don't know how to trouble shoot
Please help.What is missing in this code.
Thanks in advance
The code is
Private Sub Form_Load()
Me.txtuserbase = strUserbase**' shows where is the working property
Me.txtCurrentUser = strCurrentUserName 'shows the user name
End Sub
Private Sub Send_Click()
If Me.message = Null Then
MsgBox " Can't send blank message"
Else
' to save the message to a table called message_history
Set rs = New ADODB.Recordset
StrTemp = "Select * From message_history"
rs.Open StrTemp, CurrentProject.Connection, adOpenKeyset, adLockOptimistic
rs.AddNew
rs("sender") = Me![txtCurrentUser]
rs("message") = Me![message]
rs("time") = Now
rs("receiver") = ""
rs.Update
rs.close
Set rs = Nothing
Me.message = Null
Me.message.SetFocus
history.Requery
End If
End Sub
'timer to load and refresh data in the listbox
Private Sub Form_Timer()
history.Requery
Dim sList As String
Set myrs = New ADODB.Recordset
StrTemp = "Select * From message_history"
myrs.Open StrTemp, CurrentProject.Connection, adOpenKeyset, adLockOptimistic
While Not myrs.EOF
sList = sList & myrs(0) & ";" & myrs(1) & ";"
myrs.MoveNext
Wend
history.RowSource = sList
myrs.close
Set myrs = Nothing
End Sub
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Graham Taylor |
last post by:
I've tried posting this in the 'microsoft.public.access' but I will post it
here also, as I think it might be the webserver which is causing my problem.
---------
I have an Access 2003 database...
|
by: Michael |
last post by:
Hi,
Simple question: A customer has an application using Access 2000
frontend and SQL Server 2000 backend. Data connection is over ODBC.
There are almost 250 concurrent users and is growing....
|
by: MAB71 |
last post by:
There should be a way to copy an access database ( .mdb file ) without
closing connections to it. Unfortunately the FileCopy statement in VB gives
an error if users are connected to the db. But I...
|
by: Shortstuff12345 |
last post by:
I have a database that is tracking drawing markups from our manufacturing shop. The form I use captures the drawing number, the shop order, purpose of change, description of markup and who needs to...
|
by: evilash |
last post by:
Hi,
am new to c# so any help here would be greatly appreciated. Am trying to insert into my access database called Users.mdb located in my app data folder. My current code is as follows:
...
|
by: Les Desser |
last post by:
In article
<fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The
Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes
Not sure if I quite follow that.
1....
|
by: titli |
last post by:
Hi All,
Please tell me the best solution to implemenet security in access databases , to save the tables, queries, forms , reports as well as the VBA code from user access.
The users of the...
|
by: John York |
last post by:
I setup an online Access database and created a online data submission form using FrontPage 2003 to send data to the Access database. Works great for Windows users and some Mac computer users....
|
by: Mutant |
last post by:
Hi
I wish to send sms using my access database through the website way2sms on which i have my account. Is there any way that i skip opening the site manually, logging in and sending message. how can...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
| |