Resolving or Overriding the Choice List Memory File for One Field

You can assign a choice list memory file to a particular data field or tickertape memo field with the set field memory file choice list function, sf_mfclist():

int sf_mfclist(fld_or_memop, mfp, dfmp)

FIELDPTR fld_or_memop;        /* Pointer to field or memo            */

MFILEPTR mfp;            /* Memory file with choice list for field    */

DFORMPTR dfmp;            /* Pointer to form                */

Generally, you will want to use sf_mfclist() to override the choice list memory file associated with the field by a previous call to dl_fmget() or sfm_mfclist().


Home Contents Previous Next