T
tinzo
SQL:
select * from A LEFT JOIN B using (seq)
(forget about the "using", it's Oracle 10g)
DataSet (ds) filled by DataAdapter (adp) with
MissingSchemaAction.AddWithKey (it seems AddWithKey doesn't work with
joins).
DataAdapter.InsertCommand is defined by hand.
I issue a BindContext.AddNew(), then I do some editing in the form
controls and finally I do a BindContext.EndCurrentEdit() and a
DataAdapter.Update(ds, "A").
The problem is that right after EndCurrentEdit() and just before
Update() the controls on the form go blank, they're cleared. But if I
edit using "BindContext.Current[colName] = value" they're kept.
It sounds like no changes are logged when editing in the form controls.
Why is that happening?
It it's because of the JOIN, how to make it work ?
Andre.
select * from A LEFT JOIN B using (seq)
(forget about the "using", it's Oracle 10g)
DataSet (ds) filled by DataAdapter (adp) with
MissingSchemaAction.AddWithKey (it seems AddWithKey doesn't work with
joins).
DataAdapter.InsertCommand is defined by hand.
I issue a BindContext.AddNew(), then I do some editing in the form
controls and finally I do a BindContext.EndCurrentEdit() and a
DataAdapter.Update(ds, "A").
The problem is that right after EndCurrentEdit() and just before
Update() the controls on the form go blank, they're cleared. But if I
edit using "BindContext.Current[colName] = value" they're kept.
It sounds like no changes are logged when editing in the form controls.
Why is that happening?
It it's because of the JOIN, how to make it work ?
Andre.