Solved

export table in mssql to foxpro table

Posted on 2002-06-27
4
275 Views
Last Modified: 2010-05-02
hi,

i have 2 questions here:

1) how to write a program to export a table (structure and data) from mssql to foxpro?

2.) a program to export only data in a table (a) from mssql to another table (b) in foxpro?

tq.
0
Comment
Question by:icecool
  • 2
  • 2
4 Comments
 
LVL 43

Expert Comment

by:TimCottee
Comment Utility
Which version of MSSQL are you using? If SQL 7.0 or higher then you should look first at the DTS package process. This will allow you to create a predefined package that can take the structure and data (optionally perform modification on the data on the fly as it is being exported) and save it in another database type such as foxpro. The beauty of SQL 2000 is that you can save this package as VB code, modify it to your heart's desire and compile it to be run as and when you like.
0
 

Author Comment

by:icecool
Comment Utility
i m usign sql 2000
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
Comment Utility
Then definitely use DTS, create the package specifying the source and destination tables and formats, then save it as a VB project. You can then play with this project and customize it into a re-usable application.
0
 

Author Comment

by:icecool
Comment Utility
Thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Extract Data and filename Macro 20 98
DO Loop not working 4 62
Pull multiple cvs files into one access table 28 56
DIR issue 7 45
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now