LoadDataFile

 

The LoadDataFile method loads a data file for the current layer.

 

Syntax

Object.LoadDataFile( DataFileName, DataTableName )

 

Parameter

Type

Description

DataFileName

String

required; data file name

DataTableName

String

optional; table name if a database file is used

 

Example

This example loads a data file for the current layer.

 

CurrentLayer.LoadDataFile(DataFileName:="C:\Data\roads.xls")

 

Used by Layer object