Field Validation

  #include <vv_bool.h>

#include <vv_char.h>

#include <vv_date.h>

#include <vv_dec.h>

#include <vv_doubl.h>

#include <vv_form.h>

#include <vv_int.h>

#include <vv_long.h>

#include <vv_short.h>

#include <vv_str.h>

#include <vv_time.h>

vf_bool ( )

vf_ch ( )

vf_date ( )

vf_dec ( )

vf_double ( )

vf_fill ( ), vf_req ( )

vf_int ( )

vf_long ( )

vf_short ( )

vf_st ( )

vf_time ( )

   
int vf_bool (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in an F_BOOL field

int vf_ch (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in an F_CHAR field

int vf_date (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in an F_DATE field

int vf_dec (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in an F_DECIMAL field

int vf_double (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in a F_DOUBLE or FSINGLE field

int vf_fill (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates fields that have the FILL option

int vf_int (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp,UCHAR *cvbufp)

Validates the data entered in an F_INT field

int vf_long (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp,UCHAR *cvbufp)

Validates the data entered in an F_LONG field

int vf_req (UCHAR *stp, UCHAR *picp, FIELDPTR fldp, UCHAR *cvbufp)

Validates fields with the REQUIRED option

int vf_selchar (int key, DFORMPTR dfmp)

Validates selection character and moves to field

int vf_short (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in an F_SHORT field

int vf_st (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in an F_STRING field

int vf_time (UCHAR *stp, UCHAR *picp, DFIELDPTR dfldp, UCHAR *cvbufp)

Validates the data entered in an F_TIME field



Home Contents Previous Next