Board index » delphi » Field Value Required - BUG?!
Anderson Haertel Rodrigues - AHR
![]() Delphi Developer |
Tue, 13 Jul 2004 00:34:10 GMT
Field Value Required - BUG?!
Hello,
This error does happen with all the TFields with Required=False. I don't get to include a registration in GRID before executing I only got to do to work this way: BerforePost in TClientDataSet: procedure TFMP47500.ClntDtStTAB_IRREGULARIDADESBeforePost(DataSet: inherited; DataSet.FieldByName('CD_CMC') .AsString := end; My structure is the following: CREATE TABLE TAB_IRREGULARIDADES CD_TENC CHAR(11) NOT NULL, / * Primary keys definition * / ALTER TABLE TAB_IRREGULARIDADES ADD CONSTRAINT PK_TAB_IRREGULARIDADES ProviderFlags are like this: CD_TENC, CD_CMC, DT_IRRG = PFINUPDATE, PFINWHERE, PFINKEY; The other columns are: pfInUpdate; DataSetProvider.UpdateMode = upWhereKeyOnly It is even so it happens the mistake! Delphi 6 SP1, DBExpress, FB Beta 2. -- Anderson Haertel Rodrigues - AHR |