NauticalGent
Ignore List Poster Boy
- Local time
- Today, 12:14
- Joined
- Apr 27, 2015
- Messages
- 6,712
Good morning everyone,
I have a situation where the input file format we receive changes periodically (column names, specifically). I discovered this when my saved import was putting the wrong data in the wrong columns.
I really want the user to be able to import the file, although it would be degree of job-security if I told them there was no way to achieve this unless I did it. My thought process on this would be to loop through both tables' fields and then populate a form that allows the user to match the import field to the destination field and then build the SQL statement from that.
Seems like a real PITA, but once it is done then that should be the extent of it. Before I went down that road, I wanted to ask you all your thoughts and maybe have a better solution...
Hit me...
I have a situation where the input file format we receive changes periodically (column names, specifically). I discovered this when my saved import was putting the wrong data in the wrong columns.
I really want the user to be able to import the file, although it would be degree of job-security if I told them there was no way to achieve this unless I did it. My thought process on this would be to loop through both tables' fields and then populate a form that allows the user to match the import field to the destination field and then build the SQL statement from that.
Seems like a real PITA, but once it is done then that should be the extent of it. Before I went down that road, I wanted to ask you all your thoughts and maybe have a better solution...
Hit me...