Share via


LookupValuesWithURLsByStringForFormScript Method

The LookupValuesWithURLsByStringForFormScript method looks up values in a specific forms tool and returns the values and the URLs of the records containing the values.

Syntax

object.LookupValuesWithURLsByStringForFormScript

(

i_LookupString As String,

i_HTMLDocument As IDispatch

) AsIGrooveStringStringEnum

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 an enumeration of IGrooveVariantPair objects. The First element of the each pair contains the value and the Second element contains the URL of the record.

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
LookupValuesByStringForFormScript Method
LookupValuesByStringForMacro Method
LookupValuesWithURLsByStringForMacro Method