• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 518
  • Last Modified:

How can i write values in a csv file and an access database read it automatically.

Hello experts!Congratulations for your website!I would like to ask you something which makes difficulties to my project.I have got a vector :

first step:
e.g vector< string > musicTags; and its contents are the tags from an mp3 file.How can i make those values to stored like this in an csv file.

path  filename title album artist filesize ...etc( about 10 colums on the csv file)

second step:
I have got an ms access database and i would like to read this values <font color = red><b>automatically</b></font>.

Please i would really appreciate if you could help me.

Ps: Do you know any website with examples with C++ builder??

An other way to do it was the use of oracle database but i have never done it before.So an example would be very usefull too.

1 Solution
Are you able to access data via ODBC connection in C++ builder? Some component to allow it is e.g. here: http://www.vclcomponents.com/Delphi/DataBase___Misc_/ODBC_DAC__ODBC_Data_Access_Components_-info.html
or here: http://www.softvector.com/
some additional info: http://edn.embarcadero.com/article/25639

If you use ODBC then you don't need to create CSV file but you'll update the Access database directly from C++.

If you still need to create CSV file and read it by Access then you have to write a small Access application which will do it for you.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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