Share via


LookupValuesByStringForMacro Method

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

Syntax

object.LookupValuesByStringForMacro

(

i_LookupString As String,

i_FormRecordAsIGrooveFormsToolRecord

) 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_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 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 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
LookupValuesWithURLsByStringForFormScript Method
LookupValuesWithURLsByStringForMacro Method