Solved

export table in mssql to foxpro table

Posted on 2002-06-27
4
311 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
[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
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 64
using Access 8 91
Add and format columns in vb6 7 82
Fastest way to find and count same items VB6 16 62
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

737 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