Kbase P45156: Dynamics: How to add a sort condition to a base query.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  08/10/2003 |
|
Status: Unverified
GOAL:
Dynamics: How to add a sort condition to a base query.
GOAL:
How to add a sort condition to the query of an SDO.
FACT(s) (Environment):
Dynamics 2.0A
FIX:
Use the baseQuery property of the SDO and set it in an InitializeObject override of the SDO:
DEFINE VARIABLE cQuery AS CHARACTER NO-UNDO.
cQuery = "FOR EACH order NO-LOCK BY salesrep INDEXED-REPOSITION".
{set baseQuery cQuery}.
RUN SUPER.