PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Properties specific to the description of sfDeletedRecord variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
sfDeletedRecord (Type of variable)
In french: sfEnregistrementSupprimé (Type de variable)
The sfSeekDeletedResult type is used to find out the characteristics of a deleted record that was retrieved by SFSeekDeleted.
This type of variable is used by the sfSeekDeletedResult type.
Note: See Declaring a variable for more details.
Versions 20 and later
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
New in version 20
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
Example
// Connect to Salesforce
Cnt is sfConnection
Cnt..Login = "vince@gmail.com"
Cnt..Password = "qwerty" + "XXB12VCZ54"
IF SFConnect(Cnt) = False THEN
Error("The connection failed")
RETURN
END

ResGetDel is sfSeekDeletedResult
ResGetDel = SFSeekDeleted(Cnt, "Mileage__c", "20090101", "20090131")

MyRecord is sfDeletedRecord
FOR EACH MyRecord OF ResGetDel..DeletedRecord
Trace("--- ID: " + MyRecord..ID)
END
Remarks

Properties specific to the description of sfDeletedRecord variables

The following properties can be used to handle a deleted record that was retrieved by SFSeekDeleted:
NameType used Effect
DeletionDateDateTimeDate and time of record deletion (in UTC format).
This property is available in read-only.
IDCharacter stringIdentifier of the deleted record.
This property is available in read-only.

Note: These properties can be used with one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment