I have a tclientdataset. It is used to get data to and from a csv file. The csv file may not exist until the application is run. I have the following code in a tbutton...
ClientDataSet1->FileName = "c:\\testdata.csv";
ClientDataSet1->Open();
AddFiles(Edit1->Text);
ClientDataSet1->SaveToFile("c:\\testdata.csv");
When I run the application I get a "Missing data providor or data packet" error. I set the data provider to "Microsoft Text Driver (*.txt; *.csv)" and I still get the error.
What am I missing out or doing wrong? I REALLY don't want to have to create a dsn or do any manual pre-run work. I want the application to do all that. so I can move it to another computer and it just works.