Jump to content
Mark Williams

FireDAC TFDMetaDataQuery default field value

Recommended Posts

Trying to analyse the structure of a table using TFDMetaDataQuery with MetaDataKind set to mkTableFields.


This returns just about everything I need apart from (as far I can see) a field's default value.


I can see it returns TFDDataAttributes and that this includes an attribute caDefault which advises if a field has a default value, but I can see now way of ascertaining what the default value is.


The metadata structure can be found at:


  • Like 1

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now