KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Updates to Document Size Commands
PRODUCT: 4D | VERSION: 11.3 | PLATFORM: Mac & Win
Published On: January 14, 2009

4D v11 SQL Release 3 (11.3) uses Real type values to handle the size of a document. In previous versions these values were of type Longint. Therefore, it is now possible for the language to work with documents bigger than 2GB.

The following commands of the "System Documents" theme are included in this modification:

Get document size (document{; *}) -> Real

SET DOCUMENT SIZE (document; size(Real))

SET DOCUMENT POSITION (docRef; offset(Real) {; anchor})