[problem]:
When combine OraQuery and CRDBGrid, I found that if for CRDBGrid, I have enabled "LocalSorting" for performance, then in following cases:
1. I click on the grid title to sort the result
2. I use the same OraQuery to open a new query, whose result contain no previous sorted field
there will be an error due to missing of the sorting field.
Checking source code, found that
OraQuery->IndexfieldNames has been changed by CRGrid, and remain the same value for the new query.
[Temp Solution]:
need a manual reset of
Code: Select all
OraQuery->IndexFieldNames="";[Question]:
1. can such IndexFieldNames be automatically reset upon new query if its SQL has been changed?
2. will also "LocalFilter" of CRDBGrid, who changes OraQuery->FilterSQL also need such a verification?