I have a field in the User Interface to fill with data.
This data in the UI can be typed in or selected from the dropdown list
associated with the field.
The data type changes according to another field.
So data can be a number or a string or a date or "pointing" to a record
and in this case it is choosen from the dropdown list and represented by
the string contained in the record field "name".
I have problems trying to define the data structure for this field,
because of the multiplicity of values the field can hold.
I thought about using pointers to records or objects containing the
"complex data" but how to include simple data as strings or numbers?
How should I organize this data? Pointers? Variants? objects? Dynamic
records? Other structures?
Enrico