Hello,
I have written a visitor system in VFP 9 with MS Access 2016 as my database on a shared network drive.
I find at random times it just fails to update or insert records. Here is an example of a failed update. I removed the names of people but that is the code still. I will grab it after and run it in the MS Access query interface and it will update without a problem.
I have made changes to VFP to give a delay using inkey(.2) just in case the program is trying to hit ACCESS to quickly between queries. I just made that change and haven't been able to see if it is successful people. I am waiting until Monday to see if I have more failed attempts.
Is it possible it could be my access drivers I have install? I originally install MS Access drivers 2010 not realizing that the system was using MS Access 2016. Even with the previous version of the drivers my code works properly with inserting and updating records. That was until I noticed recently that it was randomly failed to execute the database changes.
Has anyone experienced this before and could give some advice?
Thank you in advance!
I have written a visitor system in VFP 9 with MS Access 2016 as my database on a shared network drive.
I find at random times it just fails to update or insert records. Here is an example of a failed update. I removed the names of people but that is the code still. I will grab it after and run it in the MS Access query interface and it will update without a problem.
Code:
Update tb_InBuilding Set LeaveTime='10/12/18 16:49:34', StaffOut='TestName' where lastn='TestName1' And FirstN='TestName2' And building='TestBuilding' And entertime=#10/12/18 16:29:35#
I have made changes to VFP to give a delay using inkey(.2) just in case the program is trying to hit ACCESS to quickly between queries. I just made that change and haven't been able to see if it is successful people. I am waiting until Monday to see if I have more failed attempts.
Is it possible it could be my access drivers I have install? I originally install MS Access drivers 2010 not realizing that the system was using MS Access 2016. Even with the previous version of the drivers my code works properly with inserting and updating records. That was until I noticed recently that it was randomly failed to execute the database changes.
Has anyone experienced this before and could give some advice?
Thank you in advance!