FindFolderByName (open)

Find a folder by its name

Syntax

LOADLIB "mod::publisher/lib/publisher.whlib";

RECORD FUNCTION FindFolderByName(INTEGER parentid, STRING foldername)

Parameters

INTEGER parentid

ID of the parent folder

STRING foldername

Name (case-insensitive) of the folder to look for

Return value

RECORD

The requested folder record, or a non-existing record if the folder does not exist

Description

Retrieve a folder record from the FOLDERS table, based on its parent folder ID and name