Set current data file

Command groupFlag affectedReversibleExecute on clientPlatform(s)
Data filesNOYESNOAll

Syntax

Set current data file
 
internal-name

Description

This command sets the specified data file the "current" data file. If your methods refer to file class names without specifying the data file, it is essential to make the appropriate data file current before setting a main file.

Example

Open data file
 
Archive.df1,DataFileA

Open data file
 (
Do not close other data
)
 
myData.df1,DataFileB

Set current data file
 
DataFileA

Set main file
 
fCustomers

# fCustomers.Field1 now refers to DataFileA.fCustomers.Field1