(form "00256" (size 56  13)
  (heading "DATA RECORDER")
  (label (position  2  3) (text "Data Recorder Function"))
  (field "drfunction" (position 23 3) (display_length 28) (input allowed)
     (null disallowed) (max_length 45)
     (value_in "Down load to file"
               "Process input file"
               "Down load & Process"
               "Up load co-ordinates"
               "Configuration")
      (default "Process input file")
     )
  (field "label1" (position  2  5)
    (display_length 19)
    (background (user_option "form_background"))
    (input disallowed) (value_in "Configuration File") 
    (default "Configuration File")
    (browser none)
    (dependency (value "drfunction") != "Process input file")
  )
  (field "config" (position 23  5) (display_length 28) (input allowed)
    (translate none) (null allowed) (max_length 32)
    (file (extension "*.dr"))
    (dependency (value "drfunction") != "Process input file")
    )
  (field "label7" (position  2 6)
    (display_length 19)
    (background (user_option "form_background"))
    (input disallowed) (value_in "Job/Area name") 
    (default "Job/Area name")
    (browser none)
    (dependency (value "drfunction") != "Configuration")
  )
  (field "job" (position 23 6) (display_length 28)
    (translate none) (max_length 32) (input allowed) (null allowed)
    (dependency (value "drfunction") != "Configuration")
    )
  (field "label2" (position  2  7)
    (display_length 15)
    (background (user_option "form_background"))
    (input disallowed) (value_in "Location") 
    (default "Location")
    (browser none)
    (dependency (value "drfunction") != "Configuration")
  )
  (field "inp_loc" (position 23  7) (display_length 28)
    (input allowed) (null disallowed) (max_length "FIO_MAX_LOCATION_LENGTH")    
    (dependency (value "drfunction") != "Configuration")
    )
  (field "archive" (position 23 7) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "Y") (translate upper) (max_length 1)
    )
  (field "archive_directory" (position  2  4) (display_length 60) (input allowed)
    (max_length 256) (null allowed)
    (directory))
  (field "label4" (position  2 9)
    (display_length 15)
    (background (user_option "form_background"))
    (input disallowed) (value_in "String Range") 
    (default "String Range")
    (browser none)
    (dependency (value "drfunction") == "Up load co-ordinates")
  )
  (field "range" (position 23  9) (display_length 28)
    (translate upper) (format range) (max_length 16)
    (input allowed) (null allowed)
    (dependency (value "drfunction") == "Up load co-ordinates")
    )
  (field "label5" (position  2 10)
    (display_length 18)
    (background (user_option "form_background"))
    (input disallowed)  (value_in "Dfield for Pt Numbers") 
    (default "Dfield for Pt Numbers")
    (browser none)
    (dependency (value "drfunction") == "Up load co-ordinates")
  )
  (field "ptnumbers" (position 23 10) (display_length 2)
    (translate upper) (format string_field) (max_length 4)
    (input allowed) (null allowed)
    (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" 
              "D11" "D12" "D13" "D14" "D15" "D16" "D17" "D18" "D19" "D20" 
              "D21" "D22" "D23" "D24" "D25" "D26" "D27" "D28" "D29" "D30"  
              "D31" "D32" "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40"  
              "D41" "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49" "D50"  
              "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" "D59" "D60"  
              "D61" "D62" "D63" "D64" "D65" "D66" "D67" "D68" "D69" "D70"  
              "D71" "D72" "D73" "D74" "D75" "D76" "D77" "D78" "D79" "D80"  
              "D81" "D82" "D83" "D84" "D85" "D86" "D87" "D88" "D89" "D90"  
              "D91" "D92" "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
    (dependency (value "drfunction") == "Up load co-ordinates")
    )
  (field "label6" (position  28 10)
    (display_length 20)
    (background (user_option "form_background"))
    (input disallowed) (value_in "Dfield for Pt descriptions")
    (default "Dfield for Pt descriptions")
    (browser none)
    (dependency (value "drfunction") == "Up load co-ordinates")
  )
  (field "ptdescriptions" (position 47 10) (display_length 2)
    (translate upper) (format string_field) (max_length 4)
    (input allowed) (null allowed)
    (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10" 
              "D11" "D12" "D13" "D14" "D15" "D16" "D17" "D18" "D19" "D20" 
              "D21" "D22" "D23" "D24" "D25" "D26" "D27" "D28" "D29" "D30"  
              "D31" "D32" "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40"  
              "D41" "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49" "D50"  
              "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" "D59" "D60"  
              "D61" "D62" "D63" "D64" "D65" "D66" "D67" "D68" "D69" "D70"  
              "D71" "D72" "D73" "D74" "D75" "D76" "D77" "D78" "D79" "D80"  
              "D81" "D82" "D83" "D84" "D85" "D86" "D87" "D88" "D89" "D90"  
              "D91" "D92" "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
    (dependency (value "drfunction") == "Up load co-ordinates")
    )
  (default_buttons)
)
