?
Solved

How to export records from a table to another table which is in other datasource???

Posted on 1998-08-20
1
Medium Priority
?
186 Views
Last Modified: 2013-11-20
We need to create tables dynamically.we could able to do this.Now we need to export records from a table to another table which is in other other datasource.(Ex : we need to exports recods in X table (access) to X table(oracle).We can get source and designation datasources(which is in odbc control panel)programmatically.Just i want to export tables or all records in a table to another datasource of different  type.

Could any body help us???

Thanks in Advance
0
Comment
Question by:MURALI_YAKKALI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
arunprakash earned 200 total points
ID: 1321106
Hi i think u can do it this way,

CSourceRecordSet mSourceSet;
CDestRecordSet    mDestSet;

//set the filters
mSourceSet.Open();

if(!mSourceSet.IsBOF())
 {
 mSourceSet.MoveFirst();
 do
      {
      mDestSet.AddNew();
      //Call a function that moves data from the source record set to the destination
     mDestSet.Update();
     }
while(!mSourceSet.IsEOF())
 }
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question