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.
| 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,ACurrentcounts pages (not rows) whileATotalis the total row count. UsespBuildingwhen you need a row-based progress ratio.