Kbase 17137: Using XFTR Advanced Query Options with Custom SmartBrowse
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Using XFTR Advanced Query Options with Custom SmartBrowse
In order to use the XFTR Advanced Query Options with a custom Smart
Object created from a template based on a SmartQuery or a SmartBrowse,
some modifications must be made to the ADM support code.
This is because the code which generates the ADM-OPEN-QUERY-CASES
procedure checks for procedure types "SmartQuery" and "SmartBrowser".
If the procedure type is neither of these, ADM-OPEN-QUERY-CASES is not
generated, and the SmartObject will not function properly.
To use the Advanced Query Sort Option, the procedure CHECK-PROCEDURE
in adm/support/sortedit.w must be modified. To use the Advanced Query
Filter option, the procedure CHECK-PROCEDURE in adm/support/filtedit.w
must be modified.
In each of the above procedures, the CASE statement must be modified
to include the new SmartObject's procedure type.
For example, if the user wishes to use the XFTR Advanced Query Options
with a SmartNavBrowser created as in section 13.5.1 of the UIB
Developer's Guide, the WHEN phrase of the CASE statement must be
changed from:
WHEN "SmartBrowser":U OR WHEN "SmartQuery":U
To:
WHEN "SmartBrowser":U OR WHEN "SmartQuery":U OR WHEN "SmartNavBrowser"
:U
This change may be made after creating the new SmartObject template,
but must be done before creating a master from that template.
NOTE: Changes should not be made to the original code in dlc/src/adm,
but should be made in a separate, parallel directory structure, as per
Kbase 15815, "Modifying ADM support code".
Progress Software Technical Support Note # 17137