Results 1 to 3 of 3

Thread: MDB problem [RESOLVED]

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Granby, Qc, Canada
    Posts
    602

    MDB problem [RESOLVED]

    I have 2 programs, one is saving values in an Access DB and the other program is reading values in the same Access DB with a timer.

    I tried putting 2 connections in the same app, it tooks the same time for both the read the values if I do this :

    myConnection.BeginTrans

    myConnection.Execute("INSERT INTO...

    myConnection.CommitTrans

    But if the 2 connections are in different program, it takes 2-3 seconds for the connection that didn't write the values to read it!

    It needs to be about half a second! 2-3 seconds is way too long!
    Last edited by Gensor; Nov 26th, 2004 at 03:27 PM.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    try searching 'refreshcache' on google.

    I think its a jetengine property. (JRO) but I dunno if its a method in Access 97 somewhere.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Granby, Qc, Canada
    Posts
    602
    Thank you, this is working now!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width