David Ayliffe writes:
> As subject; I'm using the MySQL C++ API's and compiling under MS VC++ 6?
> 
> I want to accept a table name at runtime, and then export both the data
> and data structure to a file which is compatible with MS Access; which
> the table will eventually be imported into.
> 
> Are their any API's to do this?
> 
> Any ideas
> 
> 
> Thanks lots
> David Ayliffe ([EMAIL PROTECTED])
> 


Hi!

Please do note that [EMAIL PROTECTED] does not
have anything to do with MySQL++ nor with us.

Regarding your question, take a look at resetdb.cc example and find
out how to specify a table name in runtime.

Regarding importing to Access, you do not need MySQL++ for that. You
can use mysqldump and export tables in comma delimited file, if Access
accepts it.

Read MySQL  manual on the  subject of mysqldump with --tab=... option.


-- 

Regards,

For technical support contracts, go to https://order.mysql.com/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to