Originally posted by Ashwin:
In my project, the following are the "relevant" parameters.
1) Inout file name.
2) Output file name
3) Number of fields.
4) Names of Fields and their lengths.
The reason for the last two parameters.
I have assumed that this tool would in effect be creating a table(in DBMS) or similar to it where you will have to provide that kind of info.
Thus, using this analogy, the user would be asked to enter the number of fields, their names and their maximum length. This thus, lets the application to be extensible and could be used with any other database (with the same format) with maybe, different field names, types etc.
I have tried to make the Data Convertor as generic as possible.
Originally posted by gemini:
My conversion tool is also similar to the above but only thing it doesn't sound very generic(esp. getting field names and lengths).
How do we make it more generic
i) by not passing too many parameters and
ii) satisfy the condition that "the conversion tool should be working for projects in future?"