Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

Copy Table/data from Sql server to Ms-Access using VB6.

Hi
I am trying to take the backup of the data of our application which has database on
SQL Server 2000.I need to take the backup on MS-Access database.
All this has to be a run time process.

I have a list of specific static data tables which need to be first created in MS-Access
and then the data needs to be copied.

Currently i am using DAO to create Access database,tables and fields one by one which is very tedious.

Is there any method/function using VB6 to copy the schema of tables in SQL 2000 to MS-Access.

Regards
Ajay
0
ajaykothidar
Asked:
ajaykothidar
  • 2
1 Solution
 
arbertCommented:
Why even use VB6--just create a DTS package in SQL Server that you can schedule to run when needed.

Right click on your SQL Server database and choose export data.  The wizard will walk you through the process and then you can tweak the created package to what you need.

The DTS export to Access will probably be faster than VB...

Brett
0
 
LowfatspreadCommented:
if this is to be a regular "scheduled" event you could even consider snapshot replication.  
0
 
ajaykothidarAuthor Commented:
MOderator,
Pls close this question
0
 
arbertCommented:
ajaykothidar, you don't just post in the thread and ask that it be closed.  You need to post a "question" in CS with a link to this question and give the reason for closing it....What is the reason??
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now