Databindings on checkboxes - Currencymanager.AddNew

  • Thread starter Thread starter Raymond
  • Start date Start date
R

Raymond

I have a form with some textboxes, combos and checkboxes.
I use a dataset witch I bind to a Currencymanager.
Everyting is perfect until a run CurrencyManager.AddNew.
Now I want all the textboxes to clear so I can enter new
values. When I have one or more checkboxes bounded this
will stop working. This seams very strange to me! As soon
as I add the code:
chk2Ar.DataBindings.Add("Checked", mDs, "Personal.TvaAr")
It all stop working.
Is this a bug or do I do something wrong??

Thank you
/Raymond
 
Hi Raymond,

Yes, this is a known bug. Please see the following articles:

BUG: AddNew Method of CurrencyManager Fails with Bound CheckBox
http://support.microsoft.com/?id=326440

and

BUG: Check Box Is Not Cleared When You Call AddNew() Method on a DataSet
http://support.microsoft.com/?id=321504

I hope this helps!


Thanks,
Hussein Abuthuraya
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? For information about the Microsoft Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.
 
Now it works perfect!
Thank you very much for the information.

/Raymond
-----Original Message-----
Hi Raymond,

Yes, this is a known bug. Please see the following articles:

BUG: AddNew Method of CurrencyManager Fails with Bound CheckBox
http://support.microsoft.com/?id=326440

and

BUG: Check Box Is Not Cleared When You Call AddNew() Method on a DataSet
http://support.microsoft.com/?id=321504

I hope this helps!


Thanks,
Hussein Abuthuraya
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? For information about the Microsoft
Strategic Technology Protection Program and to order your
FREE Security Tool Kit, please visit
 
Back
Top