Hi,
In an earlier post "Refer to "generic" / "dynamic" multiple columns in a formula", I was helped to generate a workflow using a Transpose tool, Multi-Row tool and then a Cross tab tool to manipulate values using multiple columns.
In setting up my test case I used simple column headers and data types didn't matter!
However, adding the sample workflow into my main workflow "works" in so far as the data is updated however, there are 2 unexpected issues:
1 - Spaces and dashes in the column headers have all been converted into underscores, e.g. "Date of Birth - 1" has been changed to "Date_of_Birth___1"
2 - All of the columns have had their data types set to V_WString.
Is there an (easy) way to revert the column to their original names and data types?
I've attached an excel file showing the metadata before and after the changes.
There are more than 150 columns in the data so I don't want to have to manually change using a select tool and the workflow is a template so the names may differ in subsequent versions of the data sets.
I was hoping that I could use some kind of dynamic replace based on the data file prior to the Transpose/Cross-Tab section, but I can't seem to find the correct syntax.
Thanks in advance