|
|
|
|
- Properties specific to sfSearchResult variables
- Functions that use the sfSearchResult type
sfSearchResult (Type of variable) In french: sfRésultatRecherche
The sfSearchResult type is used to find out the result of SFSearch. The characteristics of this result are returned by several WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // Connect to Salesforce Cnt is sfConnection Cnt.Login = "balthazar@gmail.com" Cnt.Password = "qwerty" + "XXB12VCZ54" IF SFConnect(Cnt) = False THEN Error("The connection failed") RETURN END  Res is sfSearchResult Res = SFSearch(Cnt, "FIND {""John Smith""} IN NAME FIELDS")  MyRecord is sfObject  FOR EACH MyRecord OF Res.Object Trace(MyRecord.ID) END
Remarks Properties specific to sfSearchResult variables The following properties can be used to handle the result of SFSearch: | | | Property name | Type used | Effect |
---|
Object | Array of sfObject | Salesforce records corresponding to the result of the search. |
Functions that use the sfSearchResult type | | SFSearch | Performs a search among the records found in a Salesforce database. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|