ascot diagnostics

A5431

Error: A Caché Direct callback raises <_CALLBACK SYNTAX="">: IRIS has no client to call

_name, _name.Property and _form!control.Property call back to a Caché Direct client, the VisM control of a Visual Basic form. IRIS compiles them but has no such client, and raises <_CALLBACK SYNTAX> where the line runs. Keep the value in a local variable or a property instead.

IRIS compiles the example, and do ##class(Demo.CacheDirectCallback).Call() raises <_CALLBACK SYNTAX> when it runs.

Class Demo.CacheDirectCallback
{

ClassMethod Call()
{
    Set _txtStatus = "done" //! A5431
}

}

All diagnostics