[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LongInt_Field


Purpose   Assigns a longint variable to an input field.

Decln.    LongInt_Field(ID:byte;var
          LVar:longint;Fmt:string;Min,Max:longint);

Remarks   ID is the field ID number.
          Lvar is the name of the longint variable that will be updated
          with the user's input.
          Fmt is the format of the input field. Pass a null string '' for
          the default.
          Min, Max are the minimum and maximum values for range check. Set
          to 0 to accept any longint value.

          The field must be declared with Add_Field prior to calling this
          procedure.

Example

BEGIN
    ACTIVATE_TABLE(3);
    LONGINT_FIELD(5, AREA, '', 1000,60000);
    LONGINT_FIELD(6, VOLUME, '', 0,0);
END;

See Also: Add_Field Word_Field Byte_Field Integer_Field Real_Field
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson