Range Setting

  #include <vv_form.h>

#include <vv_date.h>

#inlcude <vv_str.h>

#include <vv_time.h>

rgset ( )
rgset_date ( )
rgset_st ( )
rgset_time ( )
   
int rgset (PTR *minp, PTR *maxp, DFIELDPTR dfldp)

Sets the range of allowable values for all fields except string-based fields

int rgset_date (UCHAR *mindate_stp, UCHAR *maxdate_stp, DFIELDPTR dfldp)

Sets the range of allowable values for an F_DATE field

int rgset_st (UCHAR *min_stp, UCHAR *max_stp, DFIELDPTR dfldp)

Sets the range of allowable values for an F_STRING field

int rgset_time (UCHAR *mintime_stp, UCHAR *maxtime_stp, DFIELDPTR dfldp)

Sets the range of allowable values for an F_TIME field



Home Contents Previous Next