Good day all,
weird one this and having searched the forums
and looked into the 'DeleteObject' method i'm surprised that method does not allow you to delete a field from a table on the fly.
I have a process that allows users to import data from a spreadsheet to the DB, then add to that Data as more Daat in the form of a sheet comes in. However sometimes the odd field F8, FWhatever sneaks in and it throws it off. i have managed to trap this and flag it but cannot find any syntax that will remove this field from the Import table before moving onto the next step. I dont want to halt the procedure and manually remove the bogus field as that defeats the purpose of my automating this process, nor do I want to specifically code the correct fields for the next step, ideally I just wnat to delete/remove the offending field before going further.
So, is removing a field from a table possible in VBA? If so please let me know how.
Thanks in advance,
Mitch
weird one this and having searched the forums
and looked into the 'DeleteObject' method i'm surprised that method does not allow you to delete a field from a table on the fly.
I have a process that allows users to import data from a spreadsheet to the DB, then add to that Data as more Daat in the form of a sheet comes in. However sometimes the odd field F8, FWhatever sneaks in and it throws it off. i have managed to trap this and flag it but cannot find any syntax that will remove this field from the Import table before moving onto the next step. I dont want to halt the procedure and manually remove the bogus field as that defeats the purpose of my automating this process, nor do I want to specifically code the correct fields for the next step, ideally I just wnat to delete/remove the offending field before going further.
So, is removing a field from a table possible in VBA? If so please let me know how.
Thanks in advance,
Mitch