Re: Problem with TBetterAdoDataset and DEFAULT Statement in Fields

From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 03/06/04


Date: Fri, 05 Mar 2004 22:29:50 -0600


>But I don't use extra TField Objects. I acces the field by using
>...Dataset.FieldByName and DataSet.FieldValues['...'].
>
>Can I modify the Required Property by using the FieldByName Function or do I
>have to create the TField Objects for each Column?

I have always use Tfields but try putting this code in the AfterOpen event of
your tables
DataSet.FieldByName('ID').Required := false;

--
Brian Bushay (TeamB)
Bbushay@NMPLS.com