Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Christian Tabligan
  Where is Christian Tabligan?
 Bacolod City, Neg. Occ.
 Philippines
 Christian Tabligan
 To: michael tjia
  Where is michael tjia?
 singapore
 Singapore
 michael tjia
 Tags
Subject: RE: dbf to sql
Thread ID: 210550 Message ID: 210563 # Views: 39 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Databases, Tables and SQL Server
Date: Tuesday, January 06, 2009 4:10:38 PM         
   


> hi all
>
> I have a table in foxpro(.dbf), then I want to copy the whole data from table .dbf to SQL server table. how to do that??
>
> Thanks a lot,
>
> Michael


You can create table from your SQL Server which the same structure as your VFP tables and send those data through SPT using Insert to add records or SQL Update if you have changes or modification to you data.

ODBC or SQL StringConnection will do the job to communicate two databases (VFP to SQL).

Just read and study Pete's article.

http://www.foxite.com/faq/default.aspx?id=8

Best Regards,

CriZ (,")

"Everyone is entitled to their own opinion, but not their own facts."



COMPLETE THREAD
dbf to sql Posted by michael tjia @ 1/6/2009 3:35:24 PM
RE: dbf to sql Posted by Christian Tabligan @ 1/6/2009 4:10:38 PM