Hi,
From what I've read, I'd like to utilize Enums to keep track of columns in an Excel spreadsheet that's used to import data into a database. The company supplying the spreadsheet has had a penchant for changing, adding and deleting columns over the last couple of years. It's become a nightmare to recode the data import routine.
What I'd like to know is once I've established the Enums for the columns, if a column is added, I know I have to add that column to the Enum collection. If that column is added somewhere within the existing columns changing the column numbers of all that follow, do I physically have to reassign the column numbers following the added column? Or does that happen automatically once I tell the collection what the new column number is?
And if I put the Enum collection in its own Module in the DB, would there be a way for me to automate changes to the collection through a form the user can access?
Thanks,
Vic
From what I've read, I'd like to utilize Enums to keep track of columns in an Excel spreadsheet that's used to import data into a database. The company supplying the spreadsheet has had a penchant for changing, adding and deleting columns over the last couple of years. It's become a nightmare to recode the data import routine.
What I'd like to know is once I've established the Enums for the columns, if a column is added, I know I have to add that column to the Enum collection. If that column is added somewhere within the existing columns changing the column numbers of all that follow, do I physically have to reassign the column numbers following the added column? Or does that happen automatically once I tell the collection what the new column number is?
And if I put the Enum collection in its own Module in the DB, would there be a way for me to automate changes to the collection through a form the user can access?
Thanks,
Vic