CasewareDocs

DeleteFilePeriod

Use DeleteFolderPeriod to delete a period for a specific directory. To delete the period for a single database use DeleteFilePeriod. If you have set a period for a single database DeleteFolderPeriod will not delete it.

Compatibility

Available as of IDEA version 9.2

Syntax

DeleteFilePeriod(fileName as String)

Parameter

fileName

The name of the database. If null or empty, the method targets the PrimaryInputFile.

Remarks

The database name may be absolute as well as relative to working folder. An empty database name (null or "") designates primary input database.

Examples

Sub Main 
Dim s As String
Dim SimpleCommands As Object

Set mc = SmartContext.MacroCommands
Set SimpleCommands = mc.SimpleCommands

Simple Commands.DeleteFilePeriod Nothing 'Delete period for primary input file
SimpleCommands.DeleteFilePeriod "ABC.IMD" 'Delete period for ABC.IMD

Set SimpleCommands = Nothing
End Sub
DeleteFilePeriod | Caseware Docs