#include "batb%val.h"

TOOLBAR "" 0 20 0 2

#include <toolbar.h>

ENDPAGE

PAGE "Valute" -1 -1 78 12

STRING FLD_TABVAL_CODTAB 3
BEGIN
  PROMPT 3 1 "Codice      "
  FIELD LF_TABCOM->CODTAB
  FLAGS "U"
  KEY 1
  USE %VAL
  INPUT CODTAB FLD_TABVAL_CODTAB
  DISPLAY "Codice" CODTAB
  DISPLAY "Valuta@25" S0
  OUTPUT FLD_TABVAL_CODTAB CODTAB
  OUTPUT FLD_TABVAL_S0 S0
  HELP "Codice della valuta"
  CHECKTYPE REQUIRED
END

STRING FLD_TABVAL_S0 25
BEGIN
  PROMPT 3 3 "Descrizione "
  FIELD LF_TABCOM->S0
  KEY 2
  USE %VAL KEY 2
  INPUT S0 FLD_TABVAL_S0
  DISPLAY "Valuta@25" S0
  DISPLAY "Codice" CODTAB
  COPY OUTPUT FLD_TABVAL_CODTAB
  HELP "Descrizione della valuta"
  CHECKTYPE REQUIRED
  WARNING "Manca la descrizione"
END

NUMBER FLD_TABVAL_R0 15 5
BEGIN
  PROMPT 3 5 "Cambio      "
  FIELD LF_TABCOM->R10
  PICTURE ".5"
  FLAGS "R"
END

DATE FLD_TABVAL_D0
BEGIN
  PROMPT 3 7 "Data        "
  FIELD LF_TABCOM->D0
  HELP "Data di ultimo aggiornamento"
END

ENDPAGE

ENDMASK
