Objective Grid: How to keep the grid in synch with its recordset?

Article ID: 461
Last updated: 25 Apr, 2018
Article ID: 461
Last updated: 25 Apr, 2018
Revision: 3
Views: 1597
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 25 Apr, 2018
by Meltreger B.

Problem

When I display a recordset that is sorted with an order by clause and append a new record, and the new record gets sorted in the recordset, the recordset gets out of sync. How can I avoid that?

 

 

 


Cause

 


 

 


Action

 


Example:
 

void CGxqueryView::OnAddedNewRecord()
{
CGXRecordView::OnAddedNewRecord();
Redraw(GX_INVALIDATE);
}


 

This article was:   Helpful | Not helpful
Report an issue
Article ID: 461
Last updated: 25 Apr, 2018
Revision: 3
Views: 1597
Posted: 11 Jan, 2001 by Meltreger B.
Updated: 25 Apr, 2018 by Meltreger B.

Others in this category