CreateNewFolder
DESCRIPTION: Create a new record folder in FlitBase file. |
CLASS: CFlitBase
PROTOTYPE(S):int CreateNewFolder(int FolderType, LPCSTR pCode, LPCSTR pLabel, bool Echo = true); |
ARGUMENT(S):int FolderType | The type to be sets to folder. | LPCSTR pCode | A pointer to folder code string. | LPCSTR pLabel | A pointer to folder label. | bool Echo | Echo flags which force the system to generate a log message when sets to true. |
RETURN VALUE: This function returns in id to the created folder or 0 if failed.
EXAMPLE:
COMMENT: Use this function to create a new record folder in file. The record folder is a record create using CFolder structure. A unique id will be assigned to the folder automatically by the system.
SEE ALSO: CFolder |
|