In my experience, I have an tip and have the same function.
Use the default view from mail template.
I use R4.6x.
--------------------------------------
'Use the default view -->($FolderInfo)'
--------------------------------------
Example:
In Click,
.
.
sFolders := @DbColumn(""; ""; "($FolderInfo)"; 1);
your_choice:=@Prompt([OKCANCELLIST]; "Folders"; "Please choose one
folder?B";"";sFolders )
.
.
If you can not find the ($FolderInfo) view, you can create a new folder and
name it.
View selection is:
SELECT @Contains($Flags; "F") & !@Contains($Flags; "p")
This was first published in November 2000