Programming with Reflection

image\rwnprg32.gif DfltExistsAction property

 

Syntax

object.DfltExistsAction
object.DfltExistsAction = Value

Data type

Enumeration

 

Description

Returns (first syntax line) or specifies (second syntax line) what happens when, for an IND$FILE transfer, the destination file already exists.

Values

The default is rcOverwrite.

rcAppend The file being transferred is added to the existing destination file.

rcAskUser Reflection prompts for a course of action when this scenario arises (the choices presented are equivalent to the other options for this property).

rcOpenError The transfer fails (returns an error).

rcOverwrite The destination file is replaced.

Comments

This property only affects transfers done using the Transfer dialog box, since an "IfFileExists" option must be specified in transfer methods.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property