4D v18VP FLUSH COMMANDS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v18
VP FLUSH COMMANDS
|
VP FLUSH COMMANDS ( vpAreaName ) | ||||||||
Parameter | Type | Description | ||||||
vpAreaName | Text |
![]() |
4D View Pro area form object name | |||||
The VP FLUSH COMMANDS command immediately executes stored commands and clears the command buffer.
In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.
In order to increase performance and reduce the number of requests sent, the 4D View Pro commands called by the developer are stored in a command buffer. When called, VP FLUSH COMMANDS executes the commands as a batch when leaving the method and empties the contents of the command buffer.
You want to trace the execution of the commands and empty the command buffer:
VP SET TEXT VALUE(VP Cell("ViewProArea1";10;1);"INVOICE")
VP SET TEXT VALUE(VP Cell("ViewProArea1";10;2);"Invoice date: ")
VP SET TEXT VALUE(VP Cell("ViewProArea1";10;3);"Due date: ")
VP FLUSH COMMANDS(("ViewProArea1")
TRACE
Product: 4D
Theme: 4D View Pro Language
Number:
9588
Created: 4D v17 R4
4D View Pro Reference ( 4D v18)