Function::Internal
Wait
wait(seconds)
wait(1)
wiat(DelayField)
retval:=wait(1)
RecordSave()+wait(0.1)+DocumentOpen("MyForm")

To delay before executing the next function/command/action. It is a problem in DFW that functions get posted to the command bus and then executed in "random" order. wait will force them to be executed in the correct order.

Parameters

Seconds:
Number of seconds delay. Value less than 1 i.e. 0.1 will be immediately after, but functions will be "stacked" so this is maybe the most useful mode of them all.

Returns/Result

Nothing