Friday, July 23, 2010

periodic call in axapta

Suppose if at the client level i want to call method periodically I can achieve this task via setTimeOut method. This method will call the method specified in the argument after the provided interval.

Suppose.

if i write the line.

this.setTimeOut(identifierstr(method1), 5000, true)

The setTimeOut method will call method1 after the 5 second when the form is idle. If we want to call method1 with the no restrictions of idle then we don't need to provide true in the 3rd argument.

this.setTimeOut(identifierstr(method1), 5000)

No comments:

Post a Comment