HotXLS Docs

Standalone XLSB ODBC metadata

Represented SQL metadata

Version 2.384.374 imports, edits and saves a bounded standalone ODBC connection by way of the existing Connections collection

Use xlckOdbc and CommandType 2 for the SQL metadata, setting the ordinary ConnectionString, CommandText, Name and Description properties

The stored TypeCode is 1, whilst Excel COM reports connection Type 2 from a different enumeration

Ordinary open and save never establish a database connection, execute the SQL text or refresh query results

Lifecycle and source ownership

The qualified profile supports genuine XLSB metadata import, public edits, generated XML and binary conversion, repeated saves, file and stream reopen, and saving once the source stream has been destroyed

MetadataOnly and selected-sheet reads retain the represented connection identity, and deleting every valid connection explicitly removes the associated part, relationship and content-type owner

Checked conversion validates the authoritative raw source owner and its namespaces, relationships, content types, identities and active fields, rather than relying solely on a tolerant typed projection

Deleting the typed collection does not make an unsupported retained raw source eligible; an explicit source-free ordinary save can create a separate canonical source that must be validated on its own bytes

Unrelated workbook extensions can independently prevent conversion of a native XLSX package; supported generated XML is the positive XML-to-binary source domain within this qualification

Commands and retained limits

The standalone ODBC qualification set out here covers SQL command type 2; standalone connection command selectors and a worksheet-owned QueryTable graph have separate admission contracts

The existing standalone OLE DB profile keeps command types 0, 2, 3 and 4

A bounded standalone SQL or Table QueryTable graph can accompany the represented ODBC connection with TypeCode=1 and CommandType=2 or CommandType=3, keeping its validated worksheet destination and cached cells during XLSX/XLSB metadata conversion

Server-command metadata keeps the standalone database codec's existing represented limits and is not run during transport

QueryTables with non-SQL commands, result tables or refresh-field bindings, and parameters, page fields, Pivot or embedded-model connections, incompatible property families, unsupported active extensions and database execution keep their separate boundaries

Existing collection, string, byte-budget, UID, duplicate identity and checked-publication limits stay enforced

Qualification scope

The final complete-source Win64 Delphi 37 qualification passes 248 focused assertions and 398 independent observations across 18 output packages, including an existing OLE DB selector regression scope

Genuine Excel input authoring and normal reopen produced 15 metadata observations and 65 independent wire checks without running queries or refreshes

The imported output's complete connections.bin part is byte-identical to that native input, whilst other package differences are enumerated separately

No candidate output was newly opened in Excel, and the connection-part bridge does not qualify whole-package native equivalence, query execution or further platforms