If you are using ‘Semantic Tables’ importer in TBC, it will always look for 
some value in each column of the first row and will use it as the column name.

If it does not find values in the first row,  then it will try to find the next 
available row with all values. This is to accommodate situations where a first 
row(s) may be empty. It will not try to generate a column name (e.g., Column B) 
if none exist.

Spreadsheet importers in EDG use the same approach.

With your example, I see that the importer could get confused. We have not 
anticipated input like this. 

> On Aug 4, 2020, at 2:52 PM, Tim Smith <smith.ts...@gmail.com> wrote:
> 
> Hi,
> I'm trying to import numerous spreadsheets where some of the columns have no 
> header.  In this situation, the importer incorrectly uses the first value in 
> the column as the header/property or, more severely, it just skips the header 
> row entirely and uses the first non-null value in each  column as the 
> property.  Sometimes it does a combination of the two.  Below I describe an 
> example.  I would expect the importer to either skip or assign a name to a 
> column with no header.
> 
> Any suggestions?  I have dozens of spreadsheets to import that all have one 
> or more columns with no headers on multiple sheets.
> 
> Tim
> 
> Using the attached spreadsheet, please open it in TBC 6.4.
> 
> The first sheet has five columns where column B and D have no header.  
> <image.png>
> 
> Look at the Row0-0 instance and you will see that the values "B2" and "D2" 
> have been used as column headers/properties.
> 
> <image.png>
> 
> Now look at the Row1-0 instance.  It is a complete disaster.  Note 
> essentially the entire first data row was used as headers and in the case of 
> the Alias For column, the importer skipped the header and picked the value in 
> Row 3 to become the property for the column.  I've never seen this behavior 
> before.
> 
> <image.png>
> 
> <image.png>
> 
> And finally... look at the Row2-0 instance.  This is from the third sheet in 
> the workbook where I have manually populated the empty column headers found 
> in the last example above.  It appears to work as expected.
> <image.png>
> 
> <image.png>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com.
> <Spreadsheet Import Test - TBC 6.4.xlsx>

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/BDBA4B89-0E74-476C-82EE-D2AC582FCCD1%40topquadrant.com.

Reply via email to