4D v16.3

SEND RECORD

Home

 
4D v16.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 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 

Product: 4D
Theme: Communications
Number: 78

This command can be run in preemptive processes

 
HISTORY 

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

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)