S
Søren Reinke
Hi there
I am working on a program where the user should be able to import some CSV
files.
With my set of test data, it takes about 2 minutes to import, while it is
importing the program sort of freezes.
Therefore i would like to open a little window with a progress bar in it
that shows how far the import has come.
What is the best practice for doing this ?
I have a class with the CSV import parser in it, with one method doing
everything (of course it calls other methods as will).
So should i let the form with the progress bar call the import class ?
Another question regarding this import is, at the moment i fill all the data
into 2 tables in a dataset, and store it in a JET database when the import
is finish, would it be best to store it one record at a time ?
Hope my questions makes sense
I am working on a program where the user should be able to import some CSV
files.
With my set of test data, it takes about 2 minutes to import, while it is
importing the program sort of freezes.
Therefore i would like to open a little window with a progress bar in it
that shows how far the import has come.
What is the best practice for doing this ?
I have a class with the CSV import parser in it, with one method doing
everything (of course it calls other methods as will).
So should i let the form with the progress bar call the import class ?
Another question regarding this import is, at the moment i fill all the data
into 2 tables in a dataset, and store it in a JET database when the import
is finish, would it be best to store it one record at a time ?
Hope my questions makes sense
