Skip to Content
0
Former Member
May 03, 2005 at 11:45 AM

Clear form items

13 Views

L.S.,

I'm using SBO 2005 (pl 14) and i get weird results when clearing a UserDataSource in order to clear the values of the UI control.

Here is a part of the code:

Set oEdit = frm.Items("txtText").Specific

oEdit.DataBind.SetBound True, "", "txtText"

frm.DataSources.UserDataSources.Item(lngI).value = ""

The userdatasource is empty, but when i check

frm.Items("txtText").Specific.String is still contains old value.

Am I doing something wrong, or is this problem introduced with Patchlevel 14?

Your answer is appreciated!

Regards,

Michiel