VB and DimensionAddOrUpdateDimElement

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • VB and DimensionAddOrUpdateDimElement

    Hallo,
    i have problems with DimensionAddOrUpdateDimElement and DimElementTypeConsolidated. If I try to consolidated in c# I have this:

    Name:
    Jedox.Palo.Comm.DimElementType.DimElementTypeConsolidated
    Value:
    DimElementTypeConsolidated
    Type:
    Jedox.Palo.Comm.DimElementType

    in VB i have:

    Name:
    jedox.palo.Comm.DimElementType.DimElementTypeConsolidated
    Value:
    2
    Type:
    Integer

    with the error: "encoding conversion failed (Error -21)"


    here is the code:

    Dim ci(1) As jedox.palo.Comm.ConsolidationInfo
    palo_CON.DimensionAddOrUpdateDimElement(DB,DIM,Element)
    ci(0) = New ConsolidationInfo(Element, 1)
    palo_CON.DimensionAddOrUpdateDimElement(DB,DIM, Parent,jedox.palo.Comm.DimElementType.DimElementTypeConsolidated, ci)


    what I have to do with jedox.palo.Comm.DimElementType.DimElementTypeConsolidated???


    using Palo 1.5 and VB.NET 2.0

    thx
    - Rob -

    The post was edited 1 time, last by roniak ().