Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Adding Data from CSV files without user interaction

$
0
0
Hello every one,
We are evaluating SmartClient (v9.0p_2013-11-27) with plan to get the Power edition.
Here is the scenario and my question:

- Another App will be saving CSV files in a server folder hanging from the SmartClient App Dir.
- We need to write a code that search for those CSV files, read them one at a time, add the data to a specific database table (with DS that corresponds with the CSV columns) and when done delete the CSV file

I have read about dataSource.recordsFromText(text), but still have no idea how to access, read and delete the CSV files
I am sorry if this is a trivial question, but a hint, sample or piece of code will be very helpful.

Regards, Fausto

Viewing all articles
Browse latest Browse all 4756

Trending Articles