eda_save_database Function

Saves the current active database to a file.

Syntax

Function eda_save_database (NodeName, DatabaseName)

Properties

The eda_save_database function syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

NodeName

String. The name of the node whose database is to be saved.

DatabaseName

String. The name of the file to which the current database is to be saved.

Return Value

Long. Some typical errors would be:

Value

Description

FE_OK

Successful.

FE_SEC_ACCESSS

Unauthorized access attempted.

FE_BAD_FILENAME

DatabaseName specified is bad.

FE_READ_ONLY

Database is read only.

Remarks

This is equivalent to the DBB Save As... function. The name passed becomes the new name of the database. The name should be passed without a path or extension.

NOTE:  This file will only exist on the node whose database is being saved. This may be different than the node that is making the eda_save_database call.