4D v14.3DISPLAY RECORD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
DISPLAY RECORD
|
DISPLAY RECORD {( aTable )} | ||||||||
Parameter | Type | Description | ||||||
aTable | Table |
![]() |
Table from which to display the current record, or Default table, if omitted | |||||
The DISPLAY RECORD command displays the current record of aTable, using the current input form. The record is displayed only until an event redraws the window. Such an event might be the execution of an ADD RECORD command, returning to an input form, or returning to the menu bar. DISPLAY RECORD does nothing if there is no current record.
DISPLAY RECORD is often used to display custom progress messages. It can also be used to generate a free-running slide show.
If a form method exists, an On Load event will be generated.
WARNING: Do not call DISPLAY RECORD from within a Web connection process, because the command will be executed on the 4D Web server machine and not on the Web browser client machine.
The following example displays a series of records as a slide show:
ALL RECORDS([Demo]) ` Select all of the records
FORM SET INPUT([Demo];"Display") ` Set the form to use for display
For($vlRecord;1;Records in selection([Demo])) ` Loop through all of the records
DISPLAY RECORD([Demo]) ` Display a record
DELAY PROCESS(Current process;180) ` Pause for 3 seconds
NEXT RECORD([Demo]) ` Move to the next record
End for
Product: 4D
Theme: Records
Number:
105
Created: < 4D v6
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)
Inherited from : DISPLAY RECORD ( 4D v11 SQL Release 6)