|
|
|
|
|
|
|
|
|
Re: new field for file upload transaction [message #2566 is a reply to message #2565] |
Sun, 27 June 2010 04:45 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
The fileupload screen is for the uploading of files only, which may be any type of file, not just data. It has no provision for any additional fields which are not connected to the upload.
If you are uploading a data file which needs to be imported into the database, then the import has to be a performed in a separate task. This import task should then read records from the data file and update the database with whatever logic you specify. All the data required by this import task should be available either in the data file or in the database.
If this data file is provided by a third party, but it has "missing" data, then this data should be inserted into the file before it is uploaded. You could even put this missing data into a second file which you can upload, then have the import task read both files.
It is not possible to modify the upload task in order to specify values which are missing from the data file.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: new field for file upload transaction [message #2568 is a reply to message #2567] |
Sun, 27 June 2010 06:10 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
It is not possible to modify the upload task so that you can specify data which is missing from the file being uploaded.
If the file supplied by a third party does not contain all the data that you need before it can be added to the database then that is an application issue, not a framework issue.
Instead of uploading this "missing" data via the upload task, why can't you add this data to a database table which you can then access within the task which processes the file after it has been uploaded?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: new field for file upload transaction [message #2953 is a reply to message #2569] |
Tue, 17 April 2012 04:32 |
robinhudda123
Messages: 1 Registered: April 2012
|
Junior Member |
|
|
Nice post in which we are learn a lot of career in the web design and the maintenance. Many of the people got there future in this field. This site maintained very smoothly and very fashionable. Thanks for sharing this information with us. In which learn a lot of knowledgeable information.
robin
|
|
|