Solved

export table in mssql to foxpro table

Posted on 2002-06-27
4
302 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
ID: 7113001
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
ID: 7113005
i m usign sql 2000
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 7113024
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
ID: 7245561
Thanks!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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