DeleteData ( string dictionary {, string key} ) return long - Syntax 1

This method delete the entry corresponding to the specified Data dictionary and key values of the default Data Dictionary

It will return 1 if it succeed or zero if no corresponding entry were found and -1 if an error occurs.

Example:

The code below will delete all invoice entries of the customer 156987 :

...
if #.DeleteData( "customer", "156987") = -1 then return -1
...


Last edited Oct 25, 2015 at 10:23 PM by domangep, version 7