According to the user manual, the Data Distinction mode of the Excel Multi-Table Import works as follows:
Per Column- For all the cells in a given column, the Excel Importer gets the value in the first non-header row (the beginning of the column), which must be a number. Depending on that value, the Excel Importer will useexcelreadnum()
orexcelreadstr()
to extract the data in that column. The cell containing this value is excluded from the final table in FlexSim.
I have two questions about this:
- Is it just my memory failing or did this functionality work differently before? I thought that this would look at the data type of the top data row (i.e. ignoring header rows) and assume that for the whole column, but now it uses the first row only to determine the type and does not consider it as data -- has this changed?
- What are the possible values here? The manual says "Depending on that value" -- does that mean 0 for numbers and 1 for strings? Or should this be a valid DATATYPE_.... or VAR_TYPE_... constant?