CasewareDocs

RemoveActionField

Removes the action field for an IDEA field.

Compatibility

Available as of IDEA version 9.0

Syntax

RemoveActionField(database as Object, fieldName as String)

Parameters

database

Object containing the opened database.

fieldName

Name of the field for which the action field will be removed.

Remarks

No error will be thrown in case of an error.

Example

Dim SimpleCommands As Object 
Dim db As Object
Dim fileName As String

Sub Main
Set SimpleCommands = SmartContext.MacroCommands.SimpleCommands

'Get the name of the database.
fileName = SmartContext.PrimaryInputFile

'Open the database.
Set db = Client.OpenDatabase(fileName)

'Remove the action field from field "FieldName"
SimpleCommands.RemoveActionField db, "FieldName"

'Close the database.
db.Close
Set db = Nothing

'Release object.
Set SimpleCommands = Nothing
End Sub
RemoveActionField | Caseware Docs