Skip to Content
0
Former Member
Nov 21, 2006 at 01:58 PM

HowTo: Empty a Combo Box, the right way?

31 Views

Well , Another <b>shortcoming </b>for the SAP SDK.

It's <u>absurd </u>at all the code I been trying just to get to reset a single combo box.

The only thing that seems to work is unbinding and rebinding the combo box. But then once I have done this the contents entered on the fields of the don't stay if the user clicks the Add button.

I did a trace and what causes this behavior is the

oForm.DataSources.DBDataSources.Item("@PAYM").Clear()

method. If I can't use this method, which seems to be the only one then what?

I appreciate if anyone has come across the same problem and has a sample code to provide!