HELP! Need Access DB to show realtime changes in different location

Hi Guys,

I was wondering about how access refreshes it's data within forms and it
seems that it doesn't.
If i have a form open in one location on a network and update fields on the
form the changes are not shown on the form opened in another location.
(I.e. if 2 users are in the same form at the same time and one adds a new
record the other users form will not show this change).

Is there anyway that Access can be setup to show real-time changes over
multiple locations?
Preferably without having to do a manual refresh by clicking a button or
something.

All i want to do is show changes to a form instantly in different locations.

Any help would be greatly appreciated.

Thanks,

Shuja.

-- 
Message posted via http://www.accessmonster.com

0
dabooj
3/23/2007 10:41:05 AM
access.forms 6864 articles. 2 followers. Follow

7 Replies
1053 Views

Similar Articles

[PageSpeed] 19

You can set the form's TimerInterval property to an appropriate time (its 
value can be between 0 and 65,535 milliseconds), and put code in the forms 
Timer event to do a requery (using Me.Requery)

-- 
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"dabooj via AccessMonster.com" <u25322@uwe> wrote in message 
news:6f9b1f5bc0926@uwe...
> Hi Guys,
>
> I was wondering about how access refreshes it's data within forms and it
> seems that it doesn't.
> If i have a form open in one location on a network and update fields on 
> the
> form the changes are not shown on the form opened in another location.
> (I.e. if 2 users are in the same form at the same time and one adds a new
> record the other users form will not show this change).
>
> Is there anyway that Access can be setup to show real-time changes over
> multiple locations?
> Preferably without having to do a manual refresh by clicking a button or
> something.
>
> All i want to do is show changes to a form instantly in different 
> locations.
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Shuja.
>
> -- 
> Message posted via http://www.accessmonster.com
> 


0
Douglas
3/23/2007 11:15:41 AM
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message 
news:%23RVdZyTbHHA.2408@TK2MSFTNGP02.phx.gbl...
> You can set the form's TimerInterval property to an appropriate time (its 
> value can be between 0 and 65,535 milliseconds), and put code in the forms 
> Timer event to do a requery (using Me.Requery)
>

Hi Doug,

Wouldn't that have the unwanted side-effect of setting the current record as 
the first in the set?  Would Refresh be a better alternative?

Regards,
Keith. 


0
Keith
3/23/2007 11:42:01 AM
I, too, was under the impression that this was exactly the situation that
Refresh was meant to be used for!

-- 
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200703/1

0
missinglinq
3/23/2007 12:59:55 PM
Interesting thread ...

My understanding is that Refresh will cause changes to the current 
form/record to be displayed (eg. it will refresh calculated controls), 
whereas Requery will update any changes to the form's recordsource (and, 
quite likely, change the record being displayed on the form); the Requery 
will also trigger a refresh for calculated controls.  I await further 
clarification from the experts.

Rob


"missinglinq via AccessMonster.com" <u28780@uwe> wrote in message 
news:6f9c55ebbdf50@uwe...
> I, too, was under the impression that this was exactly the situation that
> Refresh was meant to be used for!
>
> -- 
> There's ALWAYS more than one way to skin a cat!
>
> Answers/posts based on Access 2000
>
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200703/1
> 


0
Rob
3/23/2007 1:17:38 PM
from Access 2003 Visual Basic Help:

"The Refresh method shows only changes made to records in the current set.
Since the Refresh method doesn't actually requery the database, the current
set won't include records that have been added or exclude records that have
been deleted since the database was last requeried. Nor will it exclude
records that no longer satisfy the criteria of the query or filter. To
requery the database, use the Requery method. When the record source for a
form is requeried, the current set of records will accurately reflect all
data in the record source."

hth


"Rob Parker" <NOSPAMrobpparker@optusnet.com.au.REMOVETHIS> wrote in message
news:%23lP7i2UbHHA.2316@TK2MSFTNGP04.phx.gbl...
> Interesting thread ...
>
> My understanding is that Refresh will cause changes to the current
> form/record to be displayed (eg. it will refresh calculated controls),
> whereas Requery will update any changes to the form's recordsource (and,
> quite likely, change the record being displayed on the form); the Requery
> will also trigger a refresh for calculated controls.  I await further
> clarification from the experts.
>
> Rob
>
>
> "missinglinq via AccessMonster.com" <u28780@uwe> wrote in message
> news:6f9c55ebbdf50@uwe...
> > I, too, was under the impression that this was exactly the situation
that
> > Refresh was meant to be used for!
> >
> > -- 
> > There's ALWAYS more than one way to skin a cat!
> >
> > Answers/posts based on Access 2000
> >
> > Message posted via AccessMonster.com
> > http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200703/1
> >
>
>


0
tina
3/23/2007 1:49:30 PM
"Keith Wilby" <here@there.com> wrote in message 
news:4603b98b$1_1@glkas0286.greenlnk.net...
> "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message 
> news:%23RVdZyTbHHA.2408@TK2MSFTNGP02.phx.gbl...
>> You can set the form's TimerInterval property to an appropriate time (its 
>> value can be between 0 and 65,535 milliseconds), and put code in the 
>> forms Timer event to do a requery (using Me.Requery)
>>
>
> Hi Doug,
>
> Wouldn't that have the unwanted side-effect of setting the current record 
> as the first in the set?  Would Refresh be a better alternative?

A lot depends on what the users want, but I think a Requery is what's 
required. You can always bookmark the current row, do the requery, then 
reset the current row based on the bookmark.

-- 
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



0
Douglas
3/23/2007 2:33:25 PM
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message 
news:%23DNC5gVbHHA.2188@TK2MSFTNGP04.phx.gbl...
> "Keith Wilby" <here@there.com> wrote in message 
> news:4603b98b$1_1@glkas0286.greenlnk.net...
>>
>> Hi Doug,
>>
>> Wouldn't that have the unwanted side-effect of setting the current record 
>> as the first in the set?  Would Refresh be a better alternative?
>
> A lot depends on what the users want, but I think a Requery is what's 
> required. You can always bookmark the current row, do the requery, then 
> reset the current row based on the bookmark.
>

Duly noted, thanks Doug. 


0
Keith
3/26/2007 8:33:21 AM
Reply:

Similar Artilces:

Access data into Excel across columns
Is there a way to create an Access report that would take the field 'names' and expand the records from left to right (text vertical) rather than from top to bottom? The other alternative would be to bring the data into Excel and have it populate pre-formatted cells from left to right (across columns). I'm using Office XP Thanks in advance! ...

sumifs help
I have the following formula. =SUMIFS(Table1[2],$A$11:$A$22,$A38,$B$11:$B$22,$B38) It now needs to be changed to a formula that can handle text instead of numbers. How do i do it? Use Countif instead of Sumif from =SUMIF(Table1[2],$A$11:$A$22,$A38,$B$11:$B$22,$B38) to =CountIF(Table1[2],$A$11:$A$22,$A38,$B$11:$B$22,$B38) Do you really have a function Countifs with an "S" at the end? thie maybe an UDF that needs to be modified. -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this th...

Help !
I need to create a data input screen on excel where multiple users at the same time will use them & input data. This data then needs to be stored as a database as well, where i can use it to understand trends Thank you. and the question is ...? <abrahamsaj@gmail.com> wrote in message news:1132155054.927936.191640@z14g2000cwz.googlegroups.com... >I need to create a data input screen on excel where multiple users > at the same time will use them & input data. > This data then needs to be stored as a database as well, where i can > use it to understand trends >...

how can I get a cell to change color by date to indicate expiery t
I'm trying to get the cell color to change from green to yellow to red as a date entered in the cell gets closer to that date plus 12 months or 36 months. ie some task was completed on 1 Jan 08 and will last for 24 months so I want the cell to read green if the date is still good turn yellow a month or 2 before it expires and turn red and clear the date if expired. So if the cell is empty it should show red. But I want to be able to update the date the task was completed ie it was completed again on the 15 Dec 10 before it expired so I want the countdown to expiration to restart f...

Help with this thing
It was working in the window "Transactions >> Sales >> Transactions of Sales", but exactly were publishing a Quotation, which i wanna print, more nevertheless was shut up to me network, then I closed the window and it threw several messages to me of error, and from that then it was blocked the quotation that was working. My question is as I can unblock this document? ...

Budget item not showing as 'budgeted' in Monthly Budget Report
When I run my "Monthly Budget" report, it is showing "Bills:Electricity" actual dollars of $212, and budgeted is $0. However, when I go to the budget, my regularly scheduled utility bill is clearly shown as budgeted at $225/month under the Bills:Electricity category, under the "Utilities" budget group. Why isn't the $225 showing up on the budget report in the budgeted column?? -mdb Not sure if this is the same thing, but in an earlier version of money, I had to go to the account setting (from which the bill was paid) and check some box that reference...

Help with Outlook Setup!!!
I have XP Professional installed and Office XP Professional. I have several users setup for kids, as well as my admin account. I want to setup a Limited Account in addition to the Admin account for myself for daily use. Am I just suppose to pick a different account name and login password and then setup my MSN Messenger and Outlook POP email with same username and password that I used to setup the Admin account? I don't need to share any contacts or anything, I just setup the admin email in order to setup Outlook. I want to input my contact info etc., into the Limited account and use ...

Need function to insert worksheet name into a cell of that worksheet.
I have found a formula on the web help site to automatically insert a worksheet name into a cell of the worksheet. I have several worksheets and wish to identify each worksheet automatically in a cell of each worksheet. When I use the formula it initially brings in the correct worksheet name. However when I select another worksheet the prior name appears in the selected cell. Perhaps I need to change something in my formula or this is a problem that I can't correct. What is your suggestion? The following formula is what I am using in each worksheet. =MID(CELL("fil...

Excel chart to Access report
Apologies if this isn't the right forum, but I'm clutching at straws here.... I have a chart which must be created in Excel because the Access chart interface does not (to my knowledge) permit custom error bars. The problem is that I want then to include the graph in an Access report. I can see how, via automation, I can address the chart from code in the Access report. I just don't know how to actually include it, if you get my meaning. I thought placing an unbound OLE object control in the report would be a good start, but I don't seem to be able to move the chart data into...

need to add custom entity to email selection list
We have created a custom entity called Employee which has an email address as one of its fields. We would like to be able to select an employee record while creating an email activity. How do I add this entity to the list of entities to choose from in the To field in the email activity? You can't. The list of entities you can email to are set within CRM. One option to get around this is to load employees as Contacts - with a Contact type = Employee. "Jeanenne" wrote: > We have created a custom entity called Employee which has an email address as > one of its fie...

HELP !!! I have a ARRAY Formula HELP !!!
Hello, Here is the ARRAY Formula I have and this is what I am using it for. The situation is that it worked 1 time and than not again. =INDEX(D48:K48,,MAX(IF(D48:K48<>"",COLUMN(D48:K48)))-COLUMN(D48)+1 Duty: I have a row of number that appear hourly (DOLLAR AMOUNTS), the numbe are anything from nothing to 10000. I want the hourly number to appea in specified cell. Here is an example. (I am using EXCEL 2000) Row D48:K48 answer in cell G2 1st hour D48 = $100.00 G2 Should be $100.00 2nd Hour D48 = $100.00 E48 = (nothing) G2 Should be (nothing) 3rd Hour D48 = $1...

Access 2007 link table login
Hi I am migrating my Access 2003 to 2007. There a lot of link tables from Oracle in my mdb file. when my applicaiton running, I have to code to login Oracle: Dim wsp As Workspace Set wsp = DBEngine.CreateWorkspace("xxx", "xxx", "xxx", dbUseODBC) Set dbs = OpenDatabase("", False, True, strConnect) ' connect via regular ODBC 'Close the database. The login is still cached so that it is available for any 'Access object that needs it during the same session. dbs.Close This code works great in 2003 but not in 2...

exch 5.5 help
I am in a progress to upgrade Exchange 5.5 (on NT4) to Exhange 2k3 (on 2k3). I setup a test machine and upgrade the OS to w2k3. 1st I want to connect the 5.5 to AD, so I should install ADC. Can anyone tell me the steps? Frorestprep, domainprep, setup adc, and upgrade to exchange 2k3? If you run through the steps in the E2K3 deployment tools they will walk you through everything. -- Hope that helps. ------------------------- Jaclynn Hiranaka Enterprise Messaging Support This posting is provided "AS IS" with no warranties, and confers no rights. � 2004 Microsoft Corporation. Al...

Help with Formula Please 02-19-10
Need a Formula for the following: Data Table A B C D E F G H I 1 Tom A W 2 H 30 84 30 2 Peter A W 3 H 3 Nick B L 1 A 70 Columns F1:I3 from Data Table has break scores for each player. Below is the Result Table where I need to show a summary report for high breaks. I have no problem with Break as I use the Large function. I need a formula to insert in A1 and A2 to place the name for the corresponding breaks below. Result Table High Breaks A B Name Break 1 ...

Need help in data copying.
Hi I have an invoicing file in excel (Sheet1). I need to store the dat which is invoiced into another sheet. My Invoice Data starting from Ro 8 and column B to F (The first item is from B8-F8, second item i B9-F9). B-Item Code, C-Item Name, D-Qty, E-Price, F-Total. Once I print the invoice, I need to transfer the data to another shee (Sheet2) . When I create another invoice, the new data should be added below t the previous data in Sheet2. So that I can have all the items I sol in Sheet2. Can someone help me sending a macro for it??? I will be grateful to you. Thanks in advance Tom -...

help...help...help
I just installed Microsoft Office XP Professionaql with no problem. However, whenever I try to perform any task such as opening contacts area in order to create an entry, I receive a dialog box with Microsoft Outlook and a yellow exclamation point. Also, included in the dialog box are the words could not open the item, try again. Other information that might be important is that I use a pst file. The error message also occurs when I try to open the Contact folder from the folder list as well as when I try to perform any function. It was a clean install not an upgrade. Could you ...

Excel Needs to Close
Frequently, when turning on my computer, I will get the message something like "Excel has encountered a problem and needs to close." I may not have used Excel for days and it definitely was not open when the computer was turned off. Any clues? Do I have a problem? Ed, Look for an Excel file, or Excel itself, in your Startup folder (Start - All programs). Scan for viruses. -- Earl Kiosterud www.smokeylake.com Note: Top-posting has been the norm here. Some folks prefer bottom-posting. But if you bottom-post to a reply that's already top-posted, the thr...

How do I make a column be my default column in Access
I need to make my desricption field my default field. How do I do that? Right not it defaults to my items field. me.controlname.setfocus or in macro GoToControl "controlname" Bonnie http://www.dataplus-svc.com michelle wrote: >I need to make my desricption field my default field. How do I do that? Right >not it defaults to my items field. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access/200912/1 Or, if you don't want to use events, simply set your tab order from the form design view. -- Frank H R...

Is there a way to change the return value for and ON_CONTROL() handler to return 0
I have a message map that is using the ON_CONTROL() handler. The problem is that there doesn't seem to be a ON_CONTROL_EX() or something like that that allows me to control the return value. I am handling a notification and I am doing some processing, but I need to be able to return a 0 from my handler. Without getting into using a switch statement and a ON_COMMAND() handler, is there a way to do this? Is there some function I can call within my message handler that would set the return value? -- Thanks, Bruce Who is going to see the return code? AliR. "Bruce" <...

Macro Help
Hi, I had alot of help yesterday from Jacob with the following macro, but am getting a 'run time error 13' when trying to run the macro, and i cannot see why. Any help much appreciated Sub OLApp() Dim objOL As Object, objApp As Object, lngRow As Long Set objOL = CreateObject("Outlook.Application") For lngRow = 9 To Cells(Rows.Count, "A").End(xlUp).Row If Range("E" & lngRow) = "" Then Set objApp = objOL.CreateItem(1) With objApp ..Subject = "Change Password for system" & Range("A" & lngRow)...

help me #2
how to restrict entering of same values or data in excel cell Hi if you mean the 'preventing of duplicate entries' you may check the following site http://www.cpearson.com/excel/NoDupEntry.htm -- Regards Frank Kabel Frankfurt, Germany mangesh khati wrote: > how to restrict entering of same values or data in excel > cell ...

Problem with LeadTools CreateWindow inCFormView -Help !!!
Hi , I have been using LeadTools in Visual Studio 2005. I have a tabctrl and dialogs in each tab and developed using CFormView. So a tabCtrl is a child of CFromView and tab1 is a child of TabCtrl. I want to insert a LEAD control in one of the tabs .i.e, Dialog.I am unable to insert a leadcontrol but inserting a control in the view was easy.The problem is I am not able to get the HWND associated to a particular dialog which is super child of View. Can somebody help me in creating a lead control in the dialog configdlg .h LAnnotationWindow m_LAnnoWnd; FormView.cpp CMyTabCtrl m_myCtrlTab; ...

HelpProvider and HTML Help interaction
I have an application with a .chm help-file. But I have some questions about the behaviour of the help-window. I use a modal application window and I can start the help. The help windows appears but it is allways in foreground of my application window. I can set the input focus on my window, the help window becomes inactive but I cannot move my window over the help window. So I have to close the help window or minimize it or move it aside of my application window when I want to go on in my application. The other problem is when I minimize the help window and then open a dialog...

CString help
I'm looking at a website on CString Management: http://www.codeproject.com:80/string/cstringmgmt.asp In the section entitled, "CString to char * II: Using GetBuffer," the author stresses calling ReleaseBuffer after calling GetBuffer. Is this always necessary? I often use CString::GetBuffer when using CStrings in MessageBox dialogs like so: MessageBox(m_hWnd, cString.GetBuffer(0), lpTitle, MB_OK); Should I be adding a ReleaseBuffer after a MessageBox call? Should I be passing my string data to the MessageBox in another way? Regards, Joe > Is this always necessary?...

dates from Access > Outlook Calendar
I would like to be able to add events to a shared Outlook 2007 Calendar directly from our Access 2007 database. It seems fairly easy to do it from Outlook to Access (though I haven't tried it!) but I can't find anything straightforward for doing it the other way. We would like to fill in the event details in an Access form and then, if possible, have the basic date and times saved/ transferred/ whatever! to the Outlook calendar - simply to save the extra step of doing it manually. I have used Access for a few months but have not done any real coding - (someone in the ...