Calling the GetEstimatedSize Event Handler on Another Metaclass

You can call a GetEstimatedSize event handler defined on another metaclass to use this size in your calculation. For example, you may define GetEstimatedSize on the Table metaclass, and make a call to GetEstimatedSize defined on the Column and Index metaclasses to use these sizes to calculate the total size of the table.

The syntax of the function is as follows, where message is the name of your variable containing the results to print:
GetEstimatedSize(message[,true|false])
In general, we recommend that you use the function in the folllowing form:
GetEstimatedSize(message, false)
The use of the false parameter (which is the default, but which is shown here for clarity) means that we call the GetEstimatedSize event handler on the other metaclass, and use the default mechanism only if the event handler is not available.
Setting the parameter to true will force the use of the default mechanism for calculating the size of objects (only possible for tables, columns, and join indexes):
GetEstimatedSize(message, true)