Share via


LookupValuesWithURLsByStringForMacro Method

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

Syntax

object.LookupValuesWithURLsByStringForMacro

(

i_LookupString As String,

i_FormRecord As IGrooveFormsToolRecord

) 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_FormRecord

The record the macro is running on. 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 macros by pasting the generated code into a macro script.

Note

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

See Also

Reference

IGrooveFormsToolUIDelegate Interface
LookupValuesByStringForFormScript Method
LookupValuesByStringForMacro Method
LookupValuesWithURLsByStringForFormScript Method