I have a nettalk website.
I want the users to be able to import sales history from a CSV file.
The user will want to import 1 or more months at a time for their allowed branches.
Each user can view many different branches/sites
I'm thinking of using the following approach:
- generate a sample CSV file; "Branch","Date","Sales" with one row per date per branch.
- this ensures the "Branch" name is accurate and the "Date" is in the right format.
- allow the user to download this to their local machine, edit, and fill in the "Sales" column.
- allow user to select the CSV file and upload to the web site.
- process the CSV file and import into the database.
In NetTalk:
- Create a NetWebForm with wizard style;
- Tab1 = instructions for what's going to happen
- Tab2 = allow user to enter startdate and finishdate, then push a "Generate" button to create the sample CSV file and send to the user
- Tab3 = a "File Upload" button to select the CSV file, and an "Import" button. When the "Import" button is pushed this uploads the file, reads the file and checks it for validity, and goes to tab 4.
- Tab4 = gives summary information about CSV file (eg date range) and button to "Update Database" which asks user to confirm the import into the live database
Does this sound like a suitable approach?
Should I use a NetWebForm for this?
Any suggestions welcome!!!
Regards,
Alan Telford