OpenFormFileResults (open)
Open the result storage of a formdefinition WHFS file
Syntax
LOADLIB "mod::publisher/lib/forms/api.whlib";
OBJECT FUNCTION OpenFormFileResults(OBJECT formfile, RECORD options)Parameters
OBJECT formfileFile to open
RECORD optionsOptions
STRING formnameThe name of the form to open the results for, defaults to webtoolform for webtool forms
BOOLEAN initcustomformIf this is a custom form, initialize the custom form object. Make sure this doesn't run code that can only run within a request context!
Return value
OBJECTForm results, or DEFAULT OBJECT if the file does not contain a valid webtool form