Results 1 to 4 of 4
  1. #1
    Nod_Swerdna is offline Novice
    Windows 8 Access 2007
    Join Date
    Feb 2015
    Posts
    27

    POS Terminals not updating Database in real time.

    I have added a POS module to my Computer Store Management System. I am having an issue with the database. I have two invoicing terminals. When I create a new invoice on one POS terminal, the resulting invoice does not show up on the other POS terminal until I close and reopen the POS form. (and Vice-Versa). I have previously split the database into Frontend and Backend. Although the Invoices are being created with the correct sequential invoice number from either terminal, when you look at the history from either terminal you only see recent invoices from that terminal. This means you have to return to the terminal that the invoice was created on to view a particular invoice. I have patched the problem by closing and reopening the Invoicing form when you double click the 'New Invoice' button which forces the form to re-read the database. I am having similar issues with my other modules as well but they are not as pressing. If I solve the POS problem I can solve them all.

    - Does anyone know of a coding trick to force a form to reread the database.


    - If I switch to a SQL database will the problem go away.

    Thanks in advance...

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Forms should automatically refresh/requery periodically. This is a database setting. However, code can also force a refresh/requery: Me.Requery
    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
    Nod_Swerdna is offline Novice
    Windows 8 Access 2007
    Join Date
    Feb 2015
    Posts
    27
    Thank you for your help. I will try Me.Requery, although I think I tried it already. I have record locking turned off on this form and I was wondering if I set it to 'Current Record' if it would update the database after I exit the current record. My problem only occurs after I create a new record, if I alter an existing record it updates the other workstation almost immediately. (sometimes needs a refresh)
    I will try the other record locking settings and let you if it helps...
    Thanks.

  4. #4
    Nod_Swerdna is offline Novice
    Windows 8 Access 2007
    Join Date
    Feb 2015
    Posts
    27
    Can anyone think of anything else I can try to resolve this issue...
    Thanks.

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

Similar Threads

  1. Displaying new subforms in real time.
    By sgp667 in forum Forms
    Replies: 4
    Last Post: 10-22-2012, 04:01 PM
  2. Real Time Incremental Back Up
    By GrnMtn7 in forum Access
    Replies: 1
    Last Post: 10-15-2011, 05:29 PM
  3. real time clock
    By krai in forum Access
    Replies: 1
    Last Post: 05-13-2010, 05:11 AM
  4. Real time database question
    By joet5402 in forum Forms
    Replies: 7
    Last Post: 04-01-2009, 09:00 PM

Tags for this Thread

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