STANDARD DATA DICTIONARY #740.1 -- AD HOC MACRO FILE                                                              3/24/25    PAGE 1
STORED IN ^QA(740.1,  (25 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 1.7)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the print and sort macros generated by the Ad Hoc report mechanism.  The records in this file should be accessed
only through the Ad Hoc report options.  


              DD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           AUDIT ACCESS: @

CROSS
REFERENCED BY: NAME(B)



740.1,.01     NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      OCT 09, 1991 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This field contains the name for the sort/print macro.  

              CROSS-REFERENCE:  740.1^B 
                                1)= S ^QA(740.1,"B",$E(X,1,30),DA)=""
                                2)= K ^QA(740.1,"B",$E(X,1,30),DA)


740.1,.02     TYPE                   0;2 SET (Required)

                                's' FOR SORT; 
                                'p' FOR PRINT; 
              LAST EDITED:      OCT 08, 1991 
              HELP-PROMPT:      Enter S(ort) or P(rint) to describe this macro's type. 
              DESCRIPTION:
                                This field describes what type of macro this is, i.e. sort or print.  


740.1,.03     PARENT FILE            0;3 POINTER TO FILE FILE (#1) (Required)

              LAST EDITED:      JAN 03, 1992 
              HELP-PROMPT:      Enter the file associated with this macro. 
              DESCRIPTION:      The parent file is the file that this macro belongs to.  A macro built on one particular parent
                                file will only work with that same file.  

              SCREEN:           S DIC("S")="I $D(^DIC(""AC"",""QAQ"",+Y))"
              EXPLANATION:      You may select only QAQ application group files.

740.1,.04     CHECKSUM               0;4 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      AUG 04, 1992 
              HELP-PROMPT:      Type a Number between 0 and 999999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This field contains the checksum value of the sort/print menu that this macro was created from.  


740.1,1       FIELD                  FLD;0 Multiple #740.11 (Add New Entry without Asking)

              DESCRIPTION:      This multiple field contains the data elements that the user chose when building the macro.  The
                                order of entries in this field is the same as the order in which they were chosen by the user.  


740.11,.01      MENU SELECTION         0;1 FREE TEXT (Multiply asked)

                INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
                LAST EDITED:      MAR 24, 1992 
                HELP-PROMPT:      Answer must be 1-80 characters in length. 
                DESCRIPTION:      This field contains the menu item number that was chosen by the user.  Also includes any prefixes
                                  entered by the user.  

                CROSS-REFERENCE:  740.11^B 
                                  1)= S ^QA(740.1,DA(1),"FLD","B",$E(X,1,30),DA)=""
                                  2)= K ^QA(740.1,DA(1),"FLD","B",$E(X,1,30),DA)


740.11,1        FIELD STRING           0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
                LAST EDITED:      MAR 24, 1992 
                HELP-PROMPT:      Answer must be 1-80 characters in length. 
                DESCRIPTION:      This field contains the BY or FLDS string for this particular menu choice.  It will include the
                                  field number and any prefix added by the user.  It will also include any formatting characters
                                  added automatically by the ad hoc report mechanism.  


740.11,2        ASK FROM/TO VALUES     0;3 SET

                                  '1' FOR YES; 
                                  '0' FOR NO; 
                LAST EDITED:      OCT 08, 1991 
                HELP-PROMPT:      Enter Y(es) if you want to be asked a FROM/TO sort range. 
                DESCRIPTION:      This field determines if the user should be asked a FROM/TO range on the sort for this field. 
                                  The data for this field is created when the macro is saved.  This field is only used for sort
                                  macros.  


740.11,3        FROM                   FRTO;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
                LAST EDITED:      OCT 08, 1991 
                HELP-PROMPT:      Answer must be 1-45 characters in length. 
                DESCRIPTION:      Enter the FROM, or starting, value for the sort on this field.  This field is only used for sort
                                  macros.  


740.11,4        TO                     FRTO;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
                LAST EDITED:      OCT 08, 1991 
                HELP-PROMPT:      Answer must be 1-45 characters in length. 
                DESCRIPTION:      Enter the TO, or ending, value for the sort on this field.  This field is only used for sort
                                  macros.  





      FILES POINTED TO                      FIELDS

FILE (#1)                         PARENT FILE (#.03)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):