Icon Directory Property

property Directory: String


Use the Directory property to specify the operating system directory where the database tables are located for a TDBISAMDatabase component. This property only applies to TDBISAMDatabase components that are connected to a local TDBISAMSession component whose SessionType property is set to stLocal. With local sessions a database is synonymous with a directory. For TDBISAMDatabase components that are connected to remote sessions you should use the RemoteDatabase property to specify the database.

It is not recommended that you leave this property blank since this will cause the TDBISAMDatabase component to look in the current working directory for database tables, and the current working directory may change frequently during the execution of an application.

Information Attempting to set this property when the Connected property of the TDBISAMDatabase component is True will result in an exception being raised.