Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I import/export from a SQL database some data ? 3

Status
Not open for further replies.

youssef

Programmer
Mar 13, 2001
96
BE
Hi,

How can I import/export from a SQL database some data ?

I don't know if I must to insert a activex or anything for import/export data in my program.

If anyone have a solution or say where I can find information .

Thanks a lot
 
If you want to use ActiveX, use ADO. Alsou you can use DAO, ODBC and many APIs. John Fill
1c.bmp


ivfmd@mail.md
 
You can use ODBC and the MFC classes:
-CDatabase
-CRecordset
This classes have all the functions you need.
There are also some API calls but I don't recomend them because they are a lot more complicated for the same result.

Hope this helps,s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
 
Some databases has theyrs own APIs. They are much faster than ODBC. Usualy ODBC is the fastest way to access databases. DAO can be sometimes faster than ODBC. If you're using Oracle or MySQL look up for theyrs own APIs. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top