Skip to main content
Version: 20 R7 BETA

SEND RECORD

SEND RECORD {( aTable )}

ParameterTypeDescription
aTableTableTable from which to send the current record, or Default table, if omitted

Description

SEND RECORD sends the current record of aTable to the serial port or document opened by the SET CHANNEL command. The record is sent with a special internal format that can be read only by RECEIVE RECORD. If no current record exists, SEND RECORD has no effect.

The complete record is sent. This means that pictures and BLOBs stored in or with the record are also sent.

Important: When records are being sent and received using SEND RECORD and RECEIVE RECORD, the source table structure and the destination table structure must be compatible. If they are not, 4D will convert values according to the table definitions when RECEIVE RECORD is executed.

Note: If you send a record to a document using this command, the document must have been opened using the SET CHANNEL command. You cannot use SEND RECORD with a document opened with Open document, Create document or Append document.

Compatibility note: Beginning with version 11 of 4D, this command no longer supports subtables.

Example

See example for the RECEIVE RECORD command.

See also

RECEIVE RECORD
RECEIVE VARIABLE
SEND VARIABLE

Properties

Command number78
Thread safe