TMMScriptPhase

Declared in: EDBMMClient

TMMScriptPhase = (
  spUploading,  // uploading SQL to the server; fired after each chunk
  spExecuting,  // waiting for the server to execute the script
  spFetching,   // fetching result pages from the server
  spBuilding    // loading fetched rows into the local EDB table
);

Phase indicator passed to TMMScriptProgressEvent to identify which stage of TMMScript.Execute triggered the progress callback.


Values

Value Phase ACurrent ATotal
spUploading Script upload Cumulative bytes uploaded Total script size in bytes
spExecuting Script execution 0 0
spFetching Result pages being fetched Pages fetched so far Total rows the server will send
spBuilding Rows loaded into the local EDB table Cumulative rows loaded Total rows the server will send

For spFetching, ACurrent counts pages (not rows) while ATotal is the total row count. Use spBuilding when you need a row-based progress ratio.

See Also

(C) 2026 Easygate, Lda