Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

Audit.Delete2

Same as Audit.Delete, but here you pass the list of fields to check.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Audit 3.1 Yes Yes Yes Yes Yes
MBS( "Audit.Delete2"; timestamp; TableName; FieldsToCheck )   More

Parameters

Parameter Description Example value
timestamp Pass here the timestamp field you added for auditing to the table. AuditTimeStamp
TableName The name of the table.
With 10.2 optionally as second value the name of the audit log table unless you take the default AuditLog.
"Firma¶MyAuditLog"
FieldsToCheck A list of field names to check. "myField"

Result

Returns 1.

Description

Same as Audit.Delete, but here you pass the list of fields to check.

Examples

Log record on delete:

MBS( "Audit.Delete2"; MyTable::AuditTimeStamp; "MyTable"; "firstName"; "lastName"; "age" )

See also

Blog Entries

Release notes

  • Version 10.4
    • Fixed a crash in Audit functions when querying GetFieldID internally. Affects Audit.Backup, Audit.Backup2, Audit.Changed, Audit.Changed2, Audit.Delete and Audit.Delete2 functions.

Created 18th August 2014, last changed 2nd April 2020


Audit.Delete   -   Audit.FieldIDForName

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins