|Contents:||Main||Chapter||See Also:||Getting Started Manual||Advanced User Manual|
This entry point will silently create a sort template.
|OUT||(Required) Call-by-reference variable for return value.|
|FILE||(Required) File number.|
(Required) Closed-root name of a numbered array of text that looks like the dialog used to build a SORT TEMPLATE, as in the FileMan TEMPLATE EDIT Option.
(Optional) The name of the new SORT TEMPLATE being created.
The internal number of the SORT TEMPLATE created in File .401, concatenated with its NAME, as in the return value "Y" from ^DIC.
-1 if error.
Create a SORT TEMPLATE named 'ZZTEST' that will sort the PTF file (File 45) by STATUS and within STATUS by PATIENT.
GFT(1)="SORT BY: @STATUS"
GFT(4)=" Do NOT ask range of values "
GFT(5)=" WITHIN STATUS, SORT BY: PATIENT"
GFT(6)=" From: "
. . . .
|-1||LINE n OF TEMPLATE COULD NOT BE PROCESSED|
Reviewed/Updated: October 2016