Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DINIT299

DINIT299.m

Go to the documentation of this file.
  1. DINIT299 ;SFISC/MKO-FORM AND BLOCK FILES ;10:49 AM 30 Mar 1999
  1. ;;22.0;VA FileMan;;Mar 30, 1999
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
  1. G ^DINIT29P
  1. Q Q
  1. ;;^DD(.4044,23,"DT")
  1. ;;=2930812
  1. ;;^DD(.4044,24,0)
  1. ;;=SCREEN^K^^24;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(.4044,24,3)
  1. ;;=Enter standard MUMPS code that sets the variable DIR("S").
  1. ;;^DD(.4044,24,9)
  1. ;;=@
  1. ;;^DD(.4044,24,21,0)
  1. ;;=^^4^4^2940908^
  1. ;;^DD(.4044,24,21,1,0)
  1. ;;=This screen is valid only for pointer and set-type form-only fields.
  1. ;;^DD(.4044,24,21,2,0)
  1. ;;=
  1. ;;^DD(.4044,24,21,3,0)
  1. ;;=You can enter MUMPS code that sets the variable DIR("S"), to screen the
  1. ;;^DD(.4044,24,21,4,0)
  1. ;;=the values that can be selected.
  1. ;;^DD(.4044,24,"DT")
  1. ;;=2930812
  1. ;;^DD(.4044,30,0)
  1. ;;=COMPUTED EXPRESSION^FX^^30;E1,245^K:$L(X)>245!($L(X)<1) X I $D(X) D CEXPR^DDSIT
  1. ;;^DD(.4044,30,3)
  1. ;;=Answer must be 1-245 characters in length.
  1. ;;^DD(.4044,30,21,0)
  1. ;;=^^13^13^2940908^
  1. ;;^DD(.4044,30,21,1,0)
  1. ;;=You can enter MUMPS code that sets the variable Y equal to the value of
  1. ;;^DD(.4044,30,21,2,0)
  1. ;;=the computed field. Alternatively, you can precede the computed
  1. ;;^DD(.4044,30,21,3,0)
  1. ;;=expression with an equal sign (=).
  1. ;;^DD(.4044,30,21,4,0)
  1. ;;=
  1. ;;^DD(.4044,30,21,5,0)
  1. ;;=For example,
  1. ;;^DD(.4044,30,21,6,0)
  1. ;;=
  1. ;;^DD(.4044,30,21,7,0)
  1. ;;= S:$D(var)#2 Y="The value is: "_{NUMERIC}
  1. ;;^DD(.4044,30,21,8,0)
  1. ;;= ={FIRST NAME}_" "_{LAST NAME}
  1. ;;^DD(.4044,30,21,9,0)
  1. ;;= ={FO(PRICE)}*1.085
  1. ;;^DD(.4044,30,21,10,0)
  1. ;;=
  1. ;;^DD(.4044,30,21,11,0)
  1. ;;=NUMERIC, FIRST NAME, and LAST NAME are the name of FileMan fields used on
  1. ;;^DD(.4044,30,21,12,0)
  1. ;;=the form, and PRICE is the caption of a form-only field found on the
  1. ;;^DD(.4044,30,21,13,0)
  1. ;;=current page and block of the form.
  1. ;;^DD(.4044,30,"DT")
  1. ;;=2931201
  1. ;;^DD(.404421,0)
  1. ;;=HELP SUB-FIELD^^.01^1
  1. ;;^DD(.404421,0,"DT")
  1. ;;=2930218
  1. ;;^DD(.404421,0,"NM","HELP")
  1. ;;=
  1. ;;^DD(.404421,0,"UP")
  1. ;;=.4044
  1. ;;^DD(.404421,.01,0)
  1. ;;=HELP^W^^0;1^Q
  1. ;;^DD(.404421,.01,21,0)
  1. ;;=^^3^3^2940908^
  1. ;;^DD(.404421,.01,21,1,0)
  1. ;;=This text is displayed when the user enters ? at this form-only field.
  1. ;;^DD(.404421,.01,21,2,0)
  1. ;;=The lines in this word processing field correspond to the nodes in the
  1. ;;^DD(.404421,.01,21,3,0)
  1. ;;=DIR("?",#) input array to ^DIR.
  1. ;;^DD(.404421,.01,"DT")
  1. ;;=2930812