Skip to Content
author's profile photo Former Member
Former Member

error read a Text UserField from DbDS

Hi to all

I have a userfield in document line, and the type's field is text (Long text 64000 Char)

I write the field:

m_Dbds.SetValue("U_IDE_XML", iRow, "My Text")

But I cannot read:

xml = m_Dbds.GetValue("U_IDE_XML", l_iRow)

because have the error: 'Data Source - Bad Parameters'

Note: the value appear on the matrix.

Thank you

Andrea

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 22, 2005 at 10:49 AM

    Hello Andrea,

    I had the same problem. I don't know if it's a bug.

    The trick I used to make it work was to read the data from the cell value, not using the datasource

    Dim oEditText As SAPbouiCOM.EditText
    oEditText =oMatrix.Columns.Item("Column Name").Cells.Item(l_iRow +1).Specific()
    

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.