cancel
Showing results for 
Search instead for 
Did you mean: 

UI SP1: textbox.value => textbox.string

Former Member
0 Kudos

According to my sdk-help, I can use .value to retrieve the contents of an edittext (excerpt published below). However as of sp1, my code started crashing horribly ('general failure' and next the sap-ui interface crashed). In the end using .string instead of .value solved this.

- Not a question, just thought I might save others some frustration...

- If anyone knows of more of these caveats, please tell us!

"SAP Business One SDK - UI API Release 6.5

Value Property (EditText)Description

Returns the string by fixed format.

(get from Slava specific formats)

Property type

Read-write property

Syntax (Visual Basic)

Public Property Value() As String

See Also

EditText Object"

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jacques,

if your control is bound to a user datasource, you can read and write the userdatasource.value property instead of using the textbox.

This is supposed to be faster. Especially when using the matrix control.

HTH Lutz Morrien