473,472 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Flushing/Forcing updates to mdb database

Hello,

When calling the .Update() method on a dataset to make the changes on
the undercover database (access .mdb), the changes are not reflected
immediatly.

If i close the connection, it makes the changes more quickly effective.

Do you have an idea how to force the update (writing the cache on the
disk) without closing the connection ?
Regards,
Cybertof.
Nov 16 '05 #1
1 1634
I already answered this in the microsoft.public.dotnet.framework.adonet
NG -- so please be kind and watch those multiposts. Someone else also
answered you threre. Anywhere, here's my answer (although please answer
over there)
You shoud close the connection as soon as you are done with it. If you are
performing an update with a DataAdapter, it opens and closes the connection
for you unless you tell it not to. This is the default behavior, and
particularly with Access, it's a good choice. I haven't seen this behavior
that you are speaking of, updates I send always appear to be effective
immediately, so i'm wondering how you are determining this? To that end,
I've used SQL server and Oracle exclusively, but I doubt there's any
difference b/c there's nothing that happens after a connection closes that
could cause this to the best of my knowledge.

--
W.G. Ryan MVP Windows - Embedded

http://forums.devbuzz.com
http://www.knowdotnet.com/dataaccess.html
http://www.msmvps.com/williamryan/
"cybertof" <cy****************@gmx.net> wrote in message
news:MP************************@msnews.microsoft.c om...
Hello,

When calling the .Update() method on a dataset to make the changes on
the undercover database (access .mdb), the changes are not reflected
immediatly.

If i close the connection, it makes the changes more quickly effective.

Do you have an idea how to force the update (writing the cache on the
disk) without closing the connection ?
Regards,
Cybertof.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Graham Ashton | last post by:
Hi. I'm having trouble flushing sys.stdout. I've written a small example to illustrate my problem (see below). In short, I expect it to ping "received hello", sleep for 5 seconds and then print...
7
by: Mark | last post by:
Hi - I have a document management system in ASP/VBScript, which copies files to a http://www./files directory. While uploading files to that directory, it also updates a database with full path...
6
by: g pavlov | last post by:
W3C recommendations notwithstanding (see http://w3.org/TR/html401/appendix/notes.html#notes-tables) I can't seem to persuade either of the leading browsers to do true incremental table loading....
0
by: Manoj Sharma | last post by:
I am performance testing some batch processing engines. These are written in ..NET and SQL Server and are typically concerned with generating XML files out of data retrieved from the database. I...
0
by: jm1974 | last post by:
We have a circular master-slave setup where any one of the 2 servers can become master at any time (by human decision). The two servers are placed at geographically different sites. The servers...
8
by: CJM | last post by:
I have quite a large report, which takes a couple of minutes to run. I'd like to show line-by-line updates as they become available, but since I'm using IE6, Response.Flush() doesnt work. I know...
3
by: optictygre | last post by:
Hi folks. I have a couple questions about updating data from a dataset to a database using a data adapter. If I declare an adapter, set the batchupdatesize property to 0, and then call the...
7
by: dupuis.michael | last post by:
I'm taking over a large database that has multiple versions of the front end on the end users machines. What I'd like to do is be able to run code from the back end when they log in that forces...
0
by: andrewschools | last post by:
Hi, I'm using ClickOnce for all of my installations and updates. However, when I modify any of the datasets in my application, when a user downloads the new update, all their data saved in their...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.