find list of field values using another field as the key - poor mans SQL query Example: Find.Field("contact","contact_id","number1", "SUPER") returns the first contact where CODE = 'SUPER'
Namespace:
SuperOffice.COM.Application
Assembly:
SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
SyntaxObject FirstMatch(
string Table,
string ResultField,
string SearchField,
Object KeyValue
)
Function FirstMatch (
Table As String,
ResultField As String,
SearchField As String,
KeyValue As Object
) As Object
Dim instance As IFind
Dim Table As String
Dim ResultField As String
Dim SearchField As String
Dim KeyValue As Object
Dim returnValue As Object
returnValue = instance.FirstMatch(Table,
ResultField, SearchField, KeyValue)
Object^ FirstMatch(
[InAttribute] String^ Table,
[InAttribute] String^ ResultField,
[InAttribute] String^ SearchField,
[InAttribute] Object^ KeyValue
)
Parameters
- Table
- Type: SystemString
- ResultField
- Type: SystemString
- SearchField
- Type: SystemString
- KeyValue
- Type: SystemObject
Return Value
Type:
Object
See Also