Function : Views; Folders

NIFFindDesignNote - Returns the note ID of the specified form, view, shared folder, macro, or field note.
----------------------------------------------------------------------------------------------------------

#include <nif.h>

STATUS LNPUBLIC NIFFindDesignNote(
DBHANDLE hFile,
const char far *Name,
WORD Class,
NOTEID far *retNoteID);

Description :

This function returns the note ID of a form, view, shared folder, macro, or field note, given the name and NOTE_CLASS_xxx. The name is compared without regard to case (case insensitive).

Only the following NOTE_CLASS types are valid for this function:
NOTE_CLASS_FORM
NOTE_CLASS_VIEW
NOTE_CLASS_FILTER
NOTE_CLASS_FIELD
NOTE_CLASS_ALL

Specify NOTE_CLASS_VIEW for shared folders as well as private views.

This function uses an on-disk index of these types of notes and is very efficient.

Parameters :

See Sample Program :

See Also :

NIFCloseCollection
----------------------------------------------------------------------------------------------------------
Click here to comment to IBM on this documentation