472,377 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,377 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 2604
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: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

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.