Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Export / Import selected records from MDB file to / from XML file

Export / Import selected records from MDB file to / from XML file

Export / Import selected records from MDB file to / from XML file

I'm using Visual Studio 2013 VB.NET to export a selection of records / rows from a table in an MS Access (MDB) file into an XML file so it can be emailed to another user and then Imported into another MS Access MDB database file via VB.NET code. The tables in the Access MDB file have the same name and structure/format. In the import from the XML file if the record already exists then that row is ignored.

I can do this with a lot of custom code but was wondering if anyone knew a quicker way to do this with minimal VB.NET code in Visual Studio. The table which contains the rows to be exported and imported has a significant number of fields which I don't want to write the code to process individually if that makes sense.

At the end of the day if I have to write a lot of custom code then so be it, just wondering if anyone has done something similar and what their experience was and is there any simpler way to do this?

cheers Kizza bigears

RE: Export / Import selected records from MDB file to / from XML file

It's hard to tell if it can be improved when we don't know what "a lot of custom code" means. An example of the code segments in question would help us determine if/how it can be improved.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close