| 1 | DINIT299 ;SFISC/MKO-FORM AND BLOCK FILES ;10:49 AM  30 Mar 1999
 | 
|---|
| 2 |  ;;22.0;VA FileMan;;Mar 30, 1999
 | 
|---|
| 3 |  ;Per VHA Directive 10-93-142, this routine should not be modified.
 | 
|---|
| 4 |  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
 | 
|---|
| 5 |  G ^DINIT29P
 | 
|---|
| 6 | Q Q
 | 
|---|
| 7 |  ;;^DD(.4044,23,"DT")
 | 
|---|
| 8 |  ;;=2930812
 | 
|---|
| 9 |  ;;^DD(.4044,24,0)
 | 
|---|
| 10 |  ;;=SCREEN^K^^24;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
 | 
|---|
| 11 |  ;;^DD(.4044,24,3)
 | 
|---|
| 12 |  ;;=Enter standard MUMPS code that sets the variable DIR("S").
 | 
|---|
| 13 |  ;;^DD(.4044,24,9)
 | 
|---|
| 14 |  ;;=@
 | 
|---|
| 15 |  ;;^DD(.4044,24,21,0)
 | 
|---|
| 16 |  ;;=^^4^4^2940908^
 | 
|---|
| 17 |  ;;^DD(.4044,24,21,1,0)
 | 
|---|
| 18 |  ;;=This screen is valid only for pointer and set-type form-only fields.
 | 
|---|
| 19 |  ;;^DD(.4044,24,21,2,0)
 | 
|---|
| 20 |  ;;= 
 | 
|---|
| 21 |  ;;^DD(.4044,24,21,3,0)
 | 
|---|
| 22 |  ;;=You can enter MUMPS code that sets the variable DIR("S"), to screen the
 | 
|---|
| 23 |  ;;^DD(.4044,24,21,4,0)
 | 
|---|
| 24 |  ;;=the values that can be selected.
 | 
|---|
| 25 |  ;;^DD(.4044,24,"DT")
 | 
|---|
| 26 |  ;;=2930812
 | 
|---|
| 27 |  ;;^DD(.4044,30,0)
 | 
|---|
| 28 |  ;;=COMPUTED EXPRESSION^FX^^30;E1,245^K:$L(X)>245!($L(X)<1) X I $D(X) D CEXPR^DDSIT
 | 
|---|
| 29 |  ;;^DD(.4044,30,3)
 | 
|---|
| 30 |  ;;=Answer must be 1-245 characters in length.
 | 
|---|
| 31 |  ;;^DD(.4044,30,21,0)
 | 
|---|
| 32 |  ;;=^^13^13^2940908^
 | 
|---|
| 33 |  ;;^DD(.4044,30,21,1,0)
 | 
|---|
| 34 |  ;;=You can enter MUMPS code that sets the variable Y equal to the value of
 | 
|---|
| 35 |  ;;^DD(.4044,30,21,2,0)
 | 
|---|
| 36 |  ;;=the computed field.  Alternatively, you can precede the computed
 | 
|---|
| 37 |  ;;^DD(.4044,30,21,3,0)
 | 
|---|
| 38 |  ;;=expression with an equal sign (=).
 | 
|---|
| 39 |  ;;^DD(.4044,30,21,4,0)
 | 
|---|
| 40 |  ;;= 
 | 
|---|
| 41 |  ;;^DD(.4044,30,21,5,0)
 | 
|---|
| 42 |  ;;=For example,
 | 
|---|
| 43 |  ;;^DD(.4044,30,21,6,0)
 | 
|---|
| 44 |  ;;= 
 | 
|---|
| 45 |  ;;^DD(.4044,30,21,7,0)
 | 
|---|
| 46 |  ;;=       S:$D(var)#2 Y="The value is: "_{NUMERIC}
 | 
|---|
| 47 |  ;;^DD(.4044,30,21,8,0)
 | 
|---|
| 48 |  ;;=       ={FIRST NAME}_" "_{LAST NAME}
 | 
|---|
| 49 |  ;;^DD(.4044,30,21,9,0)
 | 
|---|
| 50 |  ;;=       ={FO(PRICE)}*1.085
 | 
|---|
| 51 |  ;;^DD(.4044,30,21,10,0)
 | 
|---|
| 52 |  ;;= 
 | 
|---|
| 53 |  ;;^DD(.4044,30,21,11,0)
 | 
|---|
| 54 |  ;;=NUMERIC, FIRST NAME, and LAST NAME are the name of FileMan fields used on
 | 
|---|
| 55 |  ;;^DD(.4044,30,21,12,0)
 | 
|---|
| 56 |  ;;=the form, and PRICE is the caption of a form-only field found on the
 | 
|---|
| 57 |  ;;^DD(.4044,30,21,13,0)
 | 
|---|
| 58 |  ;;=current page and block of the form.
 | 
|---|
| 59 |  ;;^DD(.4044,30,"DT")
 | 
|---|
| 60 |  ;;=2931201
 | 
|---|
| 61 |  ;;^DD(.404421,0)
 | 
|---|
| 62 |  ;;=HELP SUB-FIELD^^.01^1
 | 
|---|
| 63 |  ;;^DD(.404421,0,"DT")
 | 
|---|
| 64 |  ;;=2930218
 | 
|---|
| 65 |  ;;^DD(.404421,0,"NM","HELP")
 | 
|---|
| 66 |  ;;=
 | 
|---|
| 67 |  ;;^DD(.404421,0,"UP")
 | 
|---|
| 68 |  ;;=.4044
 | 
|---|
| 69 |  ;;^DD(.404421,.01,0)
 | 
|---|
| 70 |  ;;=HELP^W^^0;1^Q
 | 
|---|
| 71 |  ;;^DD(.404421,.01,21,0)
 | 
|---|
| 72 |  ;;=^^3^3^2940908^
 | 
|---|
| 73 |  ;;^DD(.404421,.01,21,1,0)
 | 
|---|
| 74 |  ;;=This text is displayed when the user enters ? at this form-only field.
 | 
|---|
| 75 |  ;;^DD(.404421,.01,21,2,0)
 | 
|---|
| 76 |  ;;=The lines in this word processing field correspond to the nodes in the
 | 
|---|
| 77 |  ;;^DD(.404421,.01,21,3,0)
 | 
|---|
| 78 |  ;;=DIR("?",#) input array to ^DIR.
 | 
|---|
| 79 |  ;;^DD(.404421,.01,"DT")
 | 
|---|
| 80 |  ;;=2930812
 | 
|---|