Including Quick Search results in Web Reports
You can run WebReports from a quick search. The results from quick searches
are not added to the dataset or into the XSD until the search is executed from the
workflow. You execute the search from the workflow using the EXECUTE
object method.
The syntax is:
Dim rc as DataSet = ObjMethod(symbol, _OBJECTKEY, "ObjectMethod", "EXECUTE", "")
This workflow example demonstrates how to add search results data to a web report.
' This executes the search and adds Result detail object to the dataset.
Dim dsQS As DataSet = ObjMethod("FORMULASEARCH.HEADER;CRITERIA",
_ObjectKey "ObjectMethod", "EXECUTE","")
' To export the XML for the search object, add this line after the
ObjMethod call.
Dim XMLStr As String = ObjectXML("", "", "HEADER;SEARCHRESULT")