I want to do a query, display the result, and change it.
I have:
Code: Select all
TMyTable T1, T2
TMyQuery Q // selecting some joins from T1, T2
Q->Edit(); // for editing
TMyDataSource QDS // connected to Q
TDBEdit QE // To display Q, E->ReadOnly = false, of course
Although I can edit data displayed by TDBEdit QE, they are not altered permanently, not within the Query and not int the Table. But that's what I want! A simple
does not work. When going back to the result-record, the old result is there again. Nothing has changed. I guess I have to alter some properties. What am I missing?