Re: Problem with TBetterAdoDataset and DEFAULT Statement in Fields
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 03/06/04
- Next message: Brian Bushay TeamB: "Re: Can not Change records on Filtered ADO table dataset?"
- Previous message: Brian Bushay TeamB: "Re: Ado SQL Concept question."
- In reply to: F.Stockmann: "Re: Problem with TBetterAdoDataset and DEFAULT Statement in Fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Brian Bushay TeamB: "Re: Can not Change records on Filtered ADO table dataset?"
- Previous message: Brian Bushay TeamB: "Re: Ado SQL Concept question."
- In reply to: F.Stockmann: "Re: Problem with TBetterAdoDataset and DEFAULT Statement in Fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]