| | | | Browse by category |
Article ID: 362
Last updated: 27 Apr, 2018
Problem
How can I change the query for a DAO grid at runtime?
Cause
Action
Here is some sample code:
void C { |
|||
// Display dialog, so that user can // enter the query string CMyQueryDialog dlg; CDaoRecordset* pSet = OnGetRecordset(); // reuse last query string if (dlg.DoModal() == IDOK) |
|||
// Cancel pending changes and close recordset UndoRecord(); pSet->Close(); // Transfer query string and reopen recordset |
|||
} return; |
|||
} |
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 362
Last updated: 27 Apr, 2018
Revision: 4
Views: 1719
Posted: 10 Jan, 2001 by
Meltreger B.
Updated: 27 Apr, 2018 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)