version 3
SEND RECORD {(aTable)}
Parameter | Type | Description | |
aTable | Table | Table 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, Append document or Create document.
Example
See example for the command RECEIVE RECORD.
See Also
RECEIVE RECORD, RECEIVE VARIABLE, SEND VARIABLE.