473,385 Members | 1,769 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,385 software developers and data experts.

Forms won't automatically update (standard behavior?)

I have a multi-user Access database with back- and front end on the network.
Problem is that the forms don't get refreshed automatically: if user A
enters a record it will only become available to user B if user B closes the
form and re-opens it. I know that I can add a button to the form that does
Me.Requery but I can't imagine there isn't a possibility that does this
automatically and without noticing it. I

Is this common Access behavior? Is there a solution?

I tried to use form timer but that results in unexpected behavior for
instance when it is triggered on the moment a user is entering values in the
form.

Thanks in advance,
john
Jun 15 '07 #1
6 2733
Hi John,

Your problem is that you have the same application being used by
multiple users at the same time. The standard practice is to place the
backend on the server and each user has their own copy of the front end.
This will prevent a variety of headaches. The only hassle with this
practice, of course, is when you have to update something on your
application.

VB2005 (VB.Net) has a real nice deployment feature that lets you deploy
anything you want, an MDB application, ADP, excel, word, jpg file... It
is called "Click Once" deployment. The only catch is that it requires
Sharepoint server to be running and IIS.

You can also write a VBscript file in Notepad and call it from a
shortcut on each User's desktop (I had to do this before Click Once).
The VBscript file would check the server to see if there was an updated
version of an mdb front end. If yes, then copy it to the calling
workstation and overwrite the old one. If no, then just start up the
mdb app on the calling workstation.

The other alternative is to manually, go to each workstation and copy
your updated app to it. Even if this is a hassel, it is way less of a
hassel than the problems you encounter by having multiple users using
the same application. When Access says it supports multiple users, they
mean multiple users can use the backend simultaneously - pull data,
edit, update data. Not the front end.

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Jun 15 '07 #2
Rich,

Thanks for your response. Sorry for not being clearer in my initial post but
each user does have its own front end of the application which is being
updated automatically when he logs in, depending on a 'LastUpdate'
fieldvalue in a backend's table.

The problem is that while users working in the database and having their
forms open their form's datasets don't get updated with the records that
other users add, unless a Me.Requery is performed.

john

"Rich P" <rp*****@aol.comschreef in bericht
news:46*********************@news.qwest.net...
Hi John,

Your problem is that you have the same application being used by
multiple users at the same time. The standard practice is to place the
backend on the server and each user has their own copy of the front end.
This will prevent a variety of headaches. The only hassle with this
practice, of course, is when you have to update something on your
application.

VB2005 (VB.Net) has a real nice deployment feature that lets you deploy
anything you want, an MDB application, ADP, excel, word, jpg file... It
is called "Click Once" deployment. The only catch is that it requires
Sharepoint server to be running and IIS.

You can also write a VBscript file in Notepad and call it from a
shortcut on each User's desktop (I had to do this before Click Once).
The VBscript file would check the server to see if there was an updated
version of an mdb front end. If yes, then copy it to the calling
workstation and overwrite the old one. If no, then just start up the
mdb app on the calling workstation.

The other alternative is to manually, go to each workstation and copy
your updated app to it. Even if this is a hassel, it is way less of a
hassel than the problems you encounter by having multiple users using
the same application. When Access says it supports multiple users, they
mean multiple users can use the backend simultaneously - pull data,
edit, update data. Not the front end.

Rich

*** Sent via Developersdex http://www.developersdex.com ***

Jun 15 '07 #3
That's standard behavior. Forms whether in a stand-alone application or in a
multiuser application do not automatically update with external changtes to
the form's recordsource.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"John" <jo@hn.comwrote in message news:f4**********@textnews.wanadoo.nl...
>I have a multi-user Access database with back- and front end on the
network. Problem is that the forms don't get refreshed automatically: if
user A enters a record it will only become available to user B if user B
closes the form and re-opens it. I know that I can add a button to the form
that does Me.Requery but I can't imagine there isn't a possibility that
does this automatically and without noticing it. I

Is this common Access behavior? Is there a solution?

I tried to use form timer but that results in unexpected behavior for
instance when it is triggered on the moment a user is entering values in
the form.

Thanks in advance,
john


Jun 15 '07 #4
Thanks. The biggest problem with this I think is that when users use the
find dialog box after being in a form for half a hour they won't find the
records other users have entered. Is the most common solution for this to
add a refresh button on the form and teach users to press that before
searching?
john

"Steve" <so***@private.emailaddressschreef in bericht
news:it***************@newsread1.news.pas.earthlin k.net...
That's standard behavior. Forms whether in a stand-alone application or in
a multiuser application do not automatically update with external changtes
to the form's recordsource.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"John" <jo@hn.comwrote in message
news:f4**********@textnews.wanadoo.nl...
>>I have a multi-user Access database with back- and front end on the
network. Problem is that the forms don't get refreshed automatically: if
user A enters a record it will only become available to user B if user B
closes the form and re-opens it. I know that I can add a button to the
form that does Me.Requery but I can't imagine there isn't a possibility
that does this automatically and without noticing it. I

Is this common Access behavior? Is there a solution?

I tried to use form timer but that results in unexpected behavior for
instance when it is triggered on the moment a user is entering values in
the form.

Thanks in advance,
john



Jun 16 '07 #5
Yes, but even that is not foolproof! If another user enters a record
immediately after Refresh and before search, that record still will not be
found.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"John" <jo@hn.comwrote in message news:f4**********@textnews.wanadoo.nl...
Thanks. The biggest problem with this I think is that when users use the
find dialog box after being in a form for half a hour they won't find the
records other users have entered. Is the most common solution for this to
add a refresh button on the form and teach users to press that before
searching?
john

"Steve" <so***@private.emailaddressschreef in bericht
news:it***************@newsread1.news.pas.earthlin k.net...
>That's standard behavior. Forms whether in a stand-alone application or
in a multiuser application do not automatically update with external
changtes to the form's recordsource.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"John" <jo@hn.comwrote in message
news:f4**********@textnews.wanadoo.nl...
>>>I have a multi-user Access database with back- and front end on the
network. Problem is that the forms don't get refreshed automatically: if
user A enters a record it will only become available to user B if user B
closes the form and re-opens it. I know that I can add a button to the
form that does Me.Requery but I can't imagine there isn't a possibility
that does this automatically and without noticing it. I

Is this common Access behavior? Is there a solution?

I tried to use form timer but that results in unexpected behavior for
instance when it is triggered on the moment a user is entering values in
the form.

Thanks in advance,
john




Jun 16 '07 #6
Thanks.
john

"Steve" <so***@private.emailaddressschreef in bericht
news:qV*****************@newsread3.news.pas.earthl ink.net...
Yes, but even that is not foolproof! If another user enters a record
immediately after Refresh and before search, that record still will not be
found.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"John" <jo@hn.comwrote in message
news:f4**********@textnews.wanadoo.nl...
>Thanks. The biggest problem with this I think is that when users use the
find dialog box after being in a form for half a hour they won't find the
records other users have entered. Is the most common solution for this to
add a refresh button on the form and teach users to press that before
searching?
john

"Steve" <so***@private.emailaddressschreef in bericht
news:it***************@newsread1.news.pas.earthli nk.net...
>>That's standard behavior. Forms whether in a stand-alone application or
in a multiuser application do not automatically update with external
changtes to the form's recordsource.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"John" <jo@hn.comwrote in message
news:f4**********@textnews.wanadoo.nl...
I have a multi-user Access database with back- and front end on the
network. Problem is that the forms don't get refreshed automatically: if
user A enters a record it will only become available to user B if user B
closes the form and re-opens it. I know that I can add a button to the
form that does Me.Requery but I can't imagine there isn't a possibility
that does this automatically and without noticing it. I

Is this common Access behavior? Is there a solution?

I tried to use form timer but that results in unexpected behavior for
instance when it is triggered on the moment a user is entering values
in the form.

Thanks in advance,
john




Jun 16 '07 #7

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

Similar topics

40
by: findmadhav | last post by:
I need a program in C (something like a TSR) which will automatically press the function key F6, say about every 5 seconds. Can anyone provide me with an exe of such a program? Thanks in advance.
3
by: Joey Powell | last post by:
This message was originally posted to the aspnet.security newsgroup, but no one there has ever heard of this before. That is why I am posting this message here, so that more people will see it... ...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
3
by: RD | last post by:
Dim myfrm as new frmb myfrm.show() Dim myfrm2 as new frmc myfrm2.show Opens two forms from a butom located on forma when I close forma I would like both form myfrm and for myfrm2 to close...
0
by: Chad | last post by:
Hello Everybody, I am trying to update a few textboxes automatically in vb.net. I have a timer updating the variables which are assigned to the textbox.text attribute, I would like to have the...
6
by: dbuchanan | last post by:
I have a Windows Forms application that accesses SQL Server 2k from a small local network. The application has been used for weeks on other systmes but a new install on a new machine retruns...
12
by: chellappa | last post by:
hi All, function automatically returns the value,am not used "return" i am using Linux -gcc complier please tell me.... what is problem... source ===== #include <stdio.h> main() {
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
6
by: salmobytes | last post by:
After a javascript-generated post event (this is a post, not ajax messaging) the current screen has to be redrawn. But on *long forms* (longer than a single screen) then the current screen...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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 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.