SCATTER Command

Top  Previous  Next

Copies data from the current record into memory variables or an object.

Syntax

SCATTER [MEMO] [NAME oRec | MEMVAR]

Parameters

MEMO

Includes all memo and blob fields when reading the record. By default, neither variables nor properties are generated for memo and blob fields. Including memo fields can potentially result in a long during operation especially when performed across a wireless network or a dial-up VPN connection.

 

NAME oRec

Creates a new object with the same name of properties as there are fields in the current table or cursor. For every field there's one corresponding property with the same name. Properties are filled with the values from the record.

 

MEMVAR

Fills a variable of the same name as the field with the corresponding value from the current record. If the variable doesn't already exist before SCATTER is called, a new local variable is created.

See also

GATHER Command