Blue Prism Product

 View Only
last person joined: 5 hours ago 

This community covers the core Blue Prism RPA product.

Expand all | Collapse all

OLEDB Excel connections - mixed type columns

  • 1.  OLEDB Excel connections - mixed type columns

    Posted 03-24-2020 14:40
    Dear All,

    I have an issue with the OLEDB Excel Connection. 
    My source Excel file contains columns with where the datatype can be different, like in columns B and C.
    When I use the Get Collection action for OLEDB in the result collection I lose data (a,b,c in the last 3 rows), because the datatype for column B is number instead of text.
    I changed the "TypeGuessRows" registry from 8 to 0, and the "ImportMixedTypes" registry from "Majority Type" to "Text".
    I also added True flag to the "Treating Data As Text" in the Set connection OLEDB action.

    Could you please help, how can I set Blue Prism not to define the datatype of a column based on the first few rows?
    Thank you.

    ------------------------------
    Erika Papp
    RPA Specialist
    Winformatics
    Europe/Budapest
    ------------------------------


  • 2.  RE: OLEDB Excel connections - mixed type columns

    Posted 03-24-2020 14:52
    We always add & "" to every column to ensure everything arrives in BP as a STRING.

    ------------------------------
    Clive Barnard
    Intelligent Automation Solution Architect
    TJX Europe
    Europe/London
    ------------------------------



  • 3.  RE: OLEDB Excel connections - mixed type columns

    Posted 03-24-2020 15:02
    Could you please help me where and when should I add the &"" to the columns? Thank you.

    ------------------------------
    Erika Papp
    RPA Specialist
    Winformatics
    Europe/Budapest
    ------------------------------



  • 4.  RE: OLEDB Excel connections - mixed type columns

    Posted 03-24-2020 15:35

    OK, slightly crossed wires and a better explaination:

    We us SQL to extract the