ISolveInterface.DeleteNamedExpression (method)

Deletes the named expression.
Syntax: SCODE = object.DeleteNamedExpression ( itemType, name, comment )
Parameters:
itemType As String - A string representing the item type of the expression.
name As String - A string representing the name of the expression.
comment As String - A comment that will be stored with this deletion.
Description: browser.DeleteNamedExpression deletes the named expression. If there are no problems with the database then a value of S_OK is returned. If there are problems then a value of S_FALSE is returned.


Example

i = browser.DeleteNamedExpression("VEHICLE ORDER", "Test3", "Now removed")
If CInt(i) = 0 Then MsgBox "DeletedNamedExpression worked"