sf_datap()

Assigns the underlying data variable for a field on a form

Call
#include <vv_des.h>
void sf_datap(fldp, datap, dfmp)

FIELDPTR fldp

Pointer to data or memo field to assign data variable for

PTR datap Pointer to data variable
DFORMPTR dfmp Pointer to form that the field is on
Returns

None

 
Description

sf_datap() associates a data pointer with a field on a form. Use it with a Designer form to assign a adata variable to a field that is not included in the form data structure (OMITFROMSTRCT). In addition, you can use it to override the data variable associated with a field by a previous call to sfm_datap() or dl_fmget().

If the field is F_RADIO, then this call will make all assignments for the group to the same data variable.

Related Functions

dl_fmget(), ssr_datap()


Home Contents Previous Next