Function : Item (Field)

NSFItemAppendTextList - Add an entry to a TYPE_TEXT_LIST item in a note.
----------------------------------------------------------------------------------------------------------

#include <nsfnote.h>

STATUS LNPUBLIC NSFItemAppendTextList(
NOTEHANDLE note_handle,
const char far *item_name,
const char far *entry_text,
WORD text_len,
BOOL duplicate_flag);

Description :

This function takes a handle to an open note, the name for the text list Item you wish to add to , the text you wish to have added as the NEXT entry in the list and the length of that text string. The last argument is a BOOL indicating whether or not you wish to allow the creation of duplicate strings in the list.

If the text list Item does not already exist, one will be created using the name provided and the text provided as the FIRST entry. The Item Flags are set to ITEM_SUMMARY.

Parameters :

Sample Usage :


  if (error_status = NSFItemAppendTextList(note1_handle,
                                         TEXT_LIST_ITEM, SOME_TEXT2,
                                         MAXWORD,
                                         FALSE))
      goto Exit;



See Also :

NSFItemCreateTextList
----------------------------------------------------------------------------------------------------------