Specific fields for export
I am trying to create a script that will export certain selected fields. I have created a separate table to hold which fields will be included/excluded from the export (yes or no values). The problem I'm having is, I can't seem to find any documentation about how to do this. I could create 100 different layouts for every possible variation but that would be ridiculous.
I may want to only export ID, Part, and Subpart but at other times Part, UPC... and so on. The tables I work with have many columns and I would like to make this simple for the end user.
There must be some simple solution that I am just not aware of.