This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SEND RECORD
|
SEND RECORD {( aTable )} | ||||||||
Parameter | Type | Description | ||||||
aTable | Table |
![]() |
Table from which to send the current record, or Default table, if omitted | |||||
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.
See example for the RECEIVE RECORD command.
Product: 4D
Theme: Communications
Number:
78
Created: < 4D v6
Modified: 4D v11 SQL
4D Language Reference ( 4D v20 R7)