Column creation order

How can I control the column creation order, specifically for dynamic fields ?

In the current version, dynamic fields are created at the very beginning of the table. This causes issues with some storage (specifically, BDE which requires, keys, index and autoinc fields to come first).

The order is defined by the declaration order in the class. Dynamic properties should not be at the start, they are positioned according to the position of container property (where the TDynamicProperties field is declared).

What is your actual class and what is the order that columns are being generated?

Thank you: I now understand why the columns were created first and was able to fix it by moving the member containing the dynamic fields after the fields that must be at the beginning of the table.