Programming Guide : 8. Working with Images and Text Strings : How You Can Work with Text Strings : How You Can Delete Strings from a Database
 
Share this page                  
How You Can Delete Strings from a Database
To remove a string from the database, use the DeleteFromDB method, which deletes the string that has the current value of the DBHandle attribute.
To remove a string, you would perform the following basic steps:
1. Set the value of the DBHandle attribute to the DBHandle for the string you want to delete.
2. Use the DeleteFromDB method to remove the string.
3. Commit changes to the database.
The DeleteFromDB method returns ER_OK if successful or a nonzero value if there is an error.
For more information about error handling for the DeleteFromDB method, see Working with Images and Text Strings.