What happens in my BO???


Author
Message
Thomas Holste
Thomas Holste
Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)
Group: StrataFrame Users
Posts: 144, Visits: 618
Hi there,




who can explain this BO-Behaviour to me?



If cmbbkz.Text.Trim.Length = 0 Then

  bbo.BKZ = " "

End If

If cmbrgls.Text.Trim.Length = 0 Then

  bbo.RGLS = " "

End If






Within the form I delete a vakue from the cmbrgls-combobox and want to save my BO. When I reach this snippet, the value of cmbrgls.text is "" , when I reach the second line (bbo.BKZ = " "), the text-property changes back to ist value before deletion.

It Looks like the BO sets back ist original value before editing to the control, but why? Because I request the value of another Combobox?

Can anyone explain this to me?

Thanks in advance

Thomas









Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Thomas, what are you trying to accomplish?  More than likely the text is being trimmed since there is no other text other than a space.
Thomas Holste
Thomas Holste
Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)
Group: StrataFrame Users
Posts: 144, Visits: 618
Hi Trent, Hi Edhy,

I noticed this behaviour and was curious why this happens. As I solved my problem in a different way, it is not too important for me. When I have a little bit more time I'll write a Little test-app and come nack with this.

Thanks ro you all for your help

Thomas
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search