Simplicty and flexibility!


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

Examples


Reference

See Also


On the forum about Wait

SetColor - how to make it fire NOW not wait until you hit save.

I have a control field with ghe following derivation:concat(SetColor("hist_d1","-1",rgb1,"-1"),SetColor("hist_s1","-1",rgb1,"-1"),SetColor("hist_t1","-1",rgb1,"-1"),SetColor("hist_idn1","-1",rgb1,"-1"),SetState("histc01",0)<...

Product: Dataease [{8}]FIVE. Written by Simon B 15/06/15 at 14:02:05

Re:SetColor - how to make it fire NOW not wait until you hit save.

1. Is the field with the derivation&nbsp;concat(SetColor("hist_d1","-1",rgb1,"-1"),SetColor("hist_s1","-1",rgb1,"-1"),SetColor("hist_t1","-1",rgb1,"-1"),SetColor("hist_idn1","-1",rgb1,"-1"),SetState("histc...

Product: Dataease [{8}]FIVE. Written by DataEase 16/06/15 at 09:16:56

Re:Re:SetColor - how to make it fire NOW not wait until you hit save.

1. Yes, the field with the derivation mentioned is a virtual field.2. The field is higher up than field rgb1 (also a virtual derived field)&nbsp; It is the 1st field top left corner to ensure it is the first field to fire.I've followed a...

Product: Dataease [{8}]FIVE. Written by Simon B 16/06/15 at 09:32:44

Re:Re:Re:SetColor - how to make it fire NOW not wait until you hit save.

control field lower than rgb tried, no difference.&nbsp; Lookup entry data from an order screen, I have everything, supplier name, desciptions, prices, history, everythnig is on my screen, nothing is going to change, it just needs to look at whats bee...

Product: Dataease [{8}]FIVE. Written by Simon B 16/06/15 at 10:15:39

Re:Re:Re:SetColor - how to make it fire NOW not wait until you hit save.

Tried adding&nbsp;if (rgb1 not=blankto the start(with ,"" at the end not ,0 as it's a text field and wouldn't accept it)colour changing of fields does not work until you save them. Once saved they show correct all the time,...

Product: Dataease [{8}]FIVE. Written by Simon B 16/06/15 at 10:24:04

On the blog about Wait

New Function in 8 - GetCurrent() - Returns some long awaited values like AppPath, DePath and MyDoc (Ver. 8.0.0.1137)

DataEae has been a little "wobbly" on referencing external stuff like Images etc.There is an Imagepath in Application Preferences, but it has been rendered "defunct" so many times over the years, and nobody is really sure how it works anyway, s...

Product: Dataease [{8}]FIVE. Written by DataEase 26/09/12 at 07:53:14

+Wait(0.1)+ What is this and why is it so important in DataEase 8?

DataEase for Windows use POST to launch functions. For those of you that doesn't know the difference between POST and SEND in Windows I will offer a simple explanation.POST means fire and forget and leave it all to windows.SEND means - "He...

Product: Dataease [{8}]FIVE. Written by DataEase 13/07/15 at 15:58:24

Sorry.... We are aware there is a lot of exiting stuff added here but you have to wait a little longer.

We are sorry but there is so much new and exciting features in the upcoming release of 8.5 and the upcoming slipstream doesn't even reveal half of the development work that has been done on 8.5 since last release.DFW is soon to undergo a big c...

Product: Dataease [{8}]FIVE. Written by DataEase 16/07/16 at 06:59:53

DataEase 8.5 - Wait():Function and Timer():Event Where and When?

DataEase 8.x is an evolutionary developed project where we feed into our development model the experiences learnt earlier in the project. The project obviously started...

Product: Dataease [{8}]FIVE. Written by DataEase 10/08/16 at 09:44:20


dg3_HelpView