Antonio Gomes 0 Posted March 8, 2023 see the demo, onvalidate event, when the dbgrid is full of records. Alexandria 11.3 OnValidateBug_(1).zip Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 zip with only EXE = virus, ransomware, spyware,... no no no, show the source please! Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 (edited) Hi, I'm sending the source code. If you compile it in delphi 11.2, the error does'nt occur. OnValidateBug.zip Edited March 8, 2023 by leonard.miranda Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 (edited) im has only RAD 11.3 Edited March 8, 2023 by programmerdelphi2k Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 https://quality.embarcadero.com/browse/RSP-40802 Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 Here this error occur.. How can I record my screen like you? Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 Ops.. Change the Insert by Append Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 ShareX - open source on Github +200 contributors Microsoft Store: search for "ShareX" tool or https://getsharex.com/ Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 The correct version. sorry. OnValidateBug.zip Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 If you use bottom arrow on DBGrid to add record, the error occur too Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 ok, the errors appears = field value = empty... but the record is appended with value informed! Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 the values is already "empty" since "procedure TForm3.FDMemTable1NewRecord(DataSet: TDataSet);" Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 Do you agree that we have a incorrect behavior here? Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 Did you compile it on a previous version? The behavior dont occur. Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 (edited) sorry my fault... Edited March 8, 2023 by programmerdelphi2k Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 The field can be only S or N. 1 - On NewRecord I change to S. 2 - The value receives 'empty', raising a exception... maybe it's be a better demo.. Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 in two case above, when "S" you read this: if FALSE or TRUE then = true if FALSE AND TRUE then = false Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 The problem is that this behavior blocks the insertion of data, especially when I try to do it through the DBGrid (Down Arrow) Share this post Link to post
leonard.miranda 0 Posted March 8, 2023 If this were the standard and correct behavior of events, I think this should be the case regardless of how many records there are in the DataSet. This worked correctly until the last version. Share this post Link to post
programmerdelphi2k 237 Posted March 8, 2023 I dont know... it's necessary wait Embarcadero ticket... I never use "Dataset" events like this... always in DB by default! all biz-rules!!! 1 Share this post Link to post
Antonio Gomes 0 Posted March 9, 2023 21 minutes ago, programmerdelphi2k said: I dont know... it's necessary wait Embarcadero ticket... I never use "Dataset" events like this... always in DB by default! all biz-rules!!! I never use "Dataset" events like this... always in DB by default! all biz-rules!!! how is that? Don't use the dataware controls? tdbedit etc .. Share this post Link to post