|
-
Jan 22nd, 2004, 05:24 PM
#1
Thread Starter
Member
ADO Question
Here is what I am trying to do.
I have 2 databases the first is a current database and the second is a backup database. They are in microsoft access.
Now I have 1 table in each database called customers. There are currently 95 fields in this table.
I want to move selected files from the current database to the backup database.
Can I, by using a dataset and dataadapeter, fill the dataset for the current database then somehow take that dataset and use it to update/insert the data into the backup database with a different connection? I want to do this without referencing each field independantly. Is this possible and how would I do it?
As always any help or suggestions are greatly appreciated.
Thanks,
Tomson
-
Jan 23rd, 2004, 09:46 AM
#2
PowerPoster
Hi,
"Now I have 1 table in each database called customers. There are currently 95 fields in this table. "
95 Fields or 95 Records?
How big is the database?
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jan 23rd, 2004, 11:39 AM
#3
Thread Starter
Member
95 fields. I know this is large and not my doing, but this is what I have to work with. The database is a little over 2 gig.
Thanks,
Tomson
-
Jan 23rd, 2004, 09:35 PM
#4
PowerPoster
Hi,
I've tried a few things on this but cannot achieve specifically what you ask. Let's hope some of the other guys have some input.
What you can do provided that the backup database is EXACTLY the same as the main one, is to open two dataadaptors and when you update the main database table you also update the backup. You will have to note the row of the data being altered so that you can refer to this in your second dataadapter. This will achieve your object of only accessing the changed fields - presumably a requirement to speed things up.
Hope this helps.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
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
|