Results 1 to 9 of 9
  1. #1
    DiGamer is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    7

    how do i update data instantly between two front end databases

    I have two front end data bases linked to a single database, I want when I enter patient name in the first front end to be instantly updated to the patient name field in the second front end...



    I can only think of on timer property in both front end forms to requery every 30sec....which makes the screen flashes every 30 sec.

    i am out of ideas need help plz thanks in advance

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    The frontends are linking to the same data? Refresh/requery is the only way to make data show up. Access default refresh interval is 60 seconds. I have multi-user database and entries by one user show in other user's frontend after default refresh, no 'screen flash'.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    DiGamer is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    7
    thank you for the speedy reply

    But let me explain more

    It is medical database, the first front end form hold the patient name and the reservation date list, the second front end form hold a combo box which populates the names of patients and reservation date in the first fe form

    what does not happen is when I add a new patient or new reservation for existing patient in the first fe form it is not automatically populated in the second fe form combo box. I have to either close and reopen the form for instant update or use a command button with requery\refresh command to update the combo box and both are inconvenient for users because simply we are not adding names or reservations constantly so they never know when they should update the combo box list

  4. #4
    DiGamer is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    7
    thanks in advance

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    That's different from just refreshing a form's RecordSource.

    A combobox must be Requeried. Yes, the form Timer event could be used. Or maybe just the combobox GotFocus or Enter or Click event or maybe all three.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    DiGamer is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    7
    is there a solution on the table level ,that after the table is updated the combo box automatically reque

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    I suppose if working directly with tables and Lookup is set in table, the RowSource would automatically refresh as records are added to the lookup table. But I never set Lookup in table and users do not work directly with tables and queries.

    Regardless, combobox on form must be requeried.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    DiGamer is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    7
    the only thing I think of now is on time event of the main form to set focus to combo box and requery

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    Can requery combobox without setting focus to it. I've never used timer event. I have read it can be a process hog. I would use the other events.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Another way to Auto Update of Front End
    By rankhornjp in forum Code Repository
    Replies: 23
    Last Post: 03-12-2014, 10:43 PM
  2. Replies: 4
    Last Post: 01-09-2013, 05:26 PM
  3. Replies: 3
    Last Post: 11-10-2012, 07:52 AM
  4. update front end mde
    By slimjen in forum Access
    Replies: 2
    Last Post: 10-31-2011, 11:37 AM
  5. Query several databases to UPDATE one
    By Kelrizzo in forum Queries
    Replies: 4
    Last Post: 10-27-2011, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums