cancel
Showing results for 
Search instead for 
Did you mean: 

error read a Text UserField from DbDS

Former Member
0 Kudos
124

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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()

Answers (0)