Ask Experts Questions for FREE Help !
Ask
    jacques's Avatar
    jacques Posts: 3, Reputation: 1
    New Member
     
    #1

    Apr 8, 2003, 04:34 AM
    (vb + access)error  the Microsoft jet database eng
    Hi , I hope you can help me please
    I wrote a clocking program that people use to clock in,in the morning
    The program is written in visual basic 6 with an ado control that is connecting to an access 2000 database and using a Microsoft jet 4.0 ole db provider.
    My ado control settings are as follows 1.cursorlocation = adUseServer
    2.cursortype = adopenDynamic
    3.locktype = adLockOptimistic
    Has a read and write mode
    This program does the main processing and is located in a workshop
    The program on this pc will update the data in the database every 2 min
    Ex will add 2 min to the login time and 2 min to the project time and so on
    In the database each person has a state logon or logoff
    So in the morning when I logon the state will change from logoff to logonn

    Then I also have user that works in the offices that logs onn remote
    All that their programms do is it opens the database and goes to their record
    And change their state to logon and change the time to the time their logging on to then the program closes

    There is 181 records in my tables so it means there is 181 people that clocks
    But in the morning when I look at the data in the table to see if every thing is fine there will be about 3 to 7 peoples records that is not correct for instance their state will be changed to logon but their time will not be changed it will still be the time of the previous day
    I made that if there is an error it should write to a file.and if I look in the file it will say the Microsoft jet database engine stopped the process because you and another user are trying to change the same dta at the same time and their will be the same amount of messages in the file as to the people that records are incorrect the time of the error and the time of the person that logged on will also be the same
    How can it be because al the people have a different record so how can two people want to change the same data

    These errors also only happens in the morning when every clocks in
    O and in the afternoon the program clocks them off automatically so the people that is in the offices don't connect to the database if that would help

    Please can you help me I am desperate
    Sorry for the long letter just wan't to make sure I explain everything
    O je and the settings for the remote programs ado controls are the same as I set out in point 1,2 and 3

    I see all the problems with error the Microsoft jet database engine stopped the process because you and another user are attempting to change the same data at the same time being said that it is corrupted but my error number differs mine is error number -2147217887

    Thank you

    Jacques

Check out some similar questions!

Undating an Access Database to SQLServer2000 [ 4 Answers ]

Where can I get info on updating an Access2000 database to SQLServer2000 Thanks in anticipation

Using access create database [ 3 Answers ]

To all. I'm need you all help, how to using Microsoft access create a database. Sample like I want record all the stock in my database and how to using Html interface link to the database. :(

(vb+ acces)the Microsoft jet database engine stopp [ 0 Answers ]

Hi , I hope you can help me please I wrote a clocking program that people use to clock in,in the morning The program is written in visual basic 6 with an ado control that is connecting to an access 2000 database and using a Microsoft jet 4.0 ole db provider. My ado control settings are as...


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.