4D v14.3

SEND RECORD

Home

 
4D v14.3
SEND RECORD

SEND RECORD 


 

SEND RECORD {( aTable )} 
Parameter Type   Description
aTable  Table in 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 oder Append document.

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

Example  

See example for the command RECEIVE RECORD.

 
PROPERTIES 

Product: 4D
Theme: Communications
Number: 78

 
HISTORY 

Created: < 4D v6
Modified: 4D v11 SQL

 
SEE ALSO 

RECEIVE RECORD
RECEIVE VARIABLE
SEND VARIABLE

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)