Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Getting TField.Required


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jul 2, 2014 8:00 AM Last Post By: Clement Doss
Clement Doss

Posts: 133
Registered: 9/19/00
Getting TField.Required  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 1, 2014 1:50 PM
Hi,

I'm using XE6 and FireDac to access a MS Access 2003 (soon to be 2010).
When I open the dataset (with TFDTable), I was expecting to see each TField.Required property set to True or False as define in the table design.
The only fields that are set are those with "DEFAULT" values assigned.

How can I retrieve correctly the Required property?

TIA,
Clément
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: Getting TField.Required  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 2, 2014 5:03 AM   in response to: Clement Doss in response to: Clement Doss
When I open the dataset (with TFDTable), I was expecting to see each TField.Required property set to True or False as define in the table design.
The only fields that are set are those with "DEFAULT" values assigned.

This is limitation of MS Access ODBC driver.

--
With best regards,
Dmitry Arefiev / FireDAC Architect
Clement Doss

Posts: 133
Registered: 9/19/00
Re: Getting TField.Required  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 2, 2014 8:00 AM   in response to: Dmitry Arefiev in response to: Dmitry Arefiev

This is limitation of MS Access ODBC driver.

Thanks for answering fast!

Clément
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02