|
-
May 13th, 2005, 03:04 AM
#4
Re: is my code being skipped???????
There is a caching problem/issue with dao.
When you update the db it is not immediately updated (I found a link somewhere about this I'll see if I can redig it up and post you a link.
Essentially you need to flush the cache of the db once you've closed the recordset you've updated. Then the db and anything looking at it should pull the right data.
Edit:
One thread
Try searching under JRO and CacheRefresh (or RefreshCache)
If you are using DAO its in the dbengine or application (I think) Or was there somewhere. I used it with a DAO connection to access 97 from vb5. I had the same problem that the record data was in the tables but wasn't getting there before the program queried the table.
I'll see about other links...
KB MSDN link, More MS stuff
JRO looks like the only way to go. Could've sworn there was another way.
>>> DBEngine.Idle dbRefreshCache <<<
DAO (heheh) and possibly the Access Application - forces the db to finish stuff off
Last edited by Ecniv; May 13th, 2005 at 03:31 AM.
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|