Share via


LookupValuesByStringForFormScript Method

The LookupValuesByStringForFormScript method looks up values in a specific Forms tool and returns the values from the records in that Forms tool.

Syntax

object.LookupValuesByStringForFormScript

(

i_LookupString As String,

i_HTMLDocument As IDispatch

) AsIGrooveBSTREnum

Parameters

Parameter Description

i_LookupString

Lookup string generated by the Create Lookup String dialog. This string is a specially formatted string that describes the lookup parameters.

i_HTMLDocument

Current HTML document containing the script. The value of this parameter is generated by the Create Lookup String dialog.

Return Value

The return value is a string enumeration, where each string in the enumeration is a field value from a record found by the lookup.

Remarks

The parameter values for this method are automatically generated when you create a lookup by using the Create Lookup String dialog. This dialog generates a method call and copies the string to the paste buffer. You can use the lookup in scripts by pasting the generated code into a script.

Note

Do not add this method call to a script directly or modify the parameters in a string generated by the Create Lookup String dialog.

See Also

Reference

IGrooveFormsToolUIDelegate Interface
LookupValuesByStringForMacro Method
LookupValuesWithURLsByStringForFormScript Method
LookupValuesWithURLsByStringForMacro Method