M
Manuel Canas
Hi there,
I have a form with a couple of tabs on in and I'm filling the form from a
dataset with the fill method. I am using a currency manager for binding
controls with a datatable.
mCurrencyManager = Me.BindingContext(dtTestTable)
dtTestTable holds the table that loading on the form.
I'm filling a listbox with names and the corresponding data gets displayed
on the right side of the form. kind of a treeview interface.
Now my problem is when I want to add a new record to the database, when I
invoke the mCurrencyManager.EndCurrentEdit() and then the
mCurrencyManager.AddNew method, the form or at least the current record does
not get blanked. on the listbox it goes to the end of it with a blank line
but it just does not end the current edit.
I have been trying so many things to find out why for the life of me, the
currency manager does respond to the .addnew method or EndCurrentEdit.
Can anybody out there tell or give some hints on how to make this work?
Thanks very much in advance,
Manny.
I have a form with a couple of tabs on in and I'm filling the form from a
dataset with the fill method. I am using a currency manager for binding
controls with a datatable.
mCurrencyManager = Me.BindingContext(dtTestTable)
dtTestTable holds the table that loading on the form.
I'm filling a listbox with names and the corresponding data gets displayed
on the right side of the form. kind of a treeview interface.
Now my problem is when I want to add a new record to the database, when I
invoke the mCurrencyManager.EndCurrentEdit() and then the
mCurrencyManager.AddNew method, the form or at least the current record does
not get blanked. on the listbox it goes to the end of it with a blank line
but it just does not end the current edit.
I have been trying so many things to find out why for the life of me, the
currency manager does respond to the .addnew method or EndCurrentEdit.
Can anybody out there tell or give some hints on how to make this work?
Thanks very much in advance,
Manny.