IsReady

Class: TMMConnection

function IsReady: Boolean;

Returns True when Database is assigned and both Database.SessionName and Database.DatabaseName are non-empty.

Call IsReady to check that a valid EDB session and database are in place before calling TMMScript.Execute or TMMUpdater.Prepare. Both methods check the same condition internally and return an error if it is not met; calling IsReady first lets you show a clear message to the user without waiting for an operation to fail.

See Also

(C) 2026 Easygate, Lda