Comments (2)
TpFIBDataSet.TFIBxxxField.OnValidate will create an Access Violation error
when reading the same field as the OnValidate "sits" on.OnValidate on a TStringField in a TpFIBDataSet works.
Delphi Tokyo (10.2.3)
This issue remains on Delphi Rio (10.3.3)
from fibplus.
Tested with Delphi Sydney 10.4, work fine!
procedure TFIBCustomDataSet.DoFieldValidate(Field:TField;Buffer:Pointer);
begin
if Assigned(Field.OnValidate) then
begin
Include(FRunState,drsInFieldValidate);
try
FValidatingFieldBuffer:=Buffer;
{$ifdef D_27}
Field.Validate(FValidatingFieldBuffer);
{$else}
FValidatedField:=Field;
FValidatedRec:= ActiveRecord;
Field.OnValidate(FValidatingFieldBuffer);
{$endif}
finally
Exclude(FRunState,drsInFieldValidate);
FValidatingFieldBuffer:=nil;
end;
end;
end;
from fibplus.
Related Issues (20)
- const QRY_PACKAGE_SUPPORTS contains wrong RELATION_NAME HOT 1
- Bug on bigint field
- FIBDataSet.pas, утеряна строка HOT 1
- How to activate compression? HOT 1
- Out of memory, StrUtil HOT 4
- Component tpFibClientDataset
- Support for new Firebird 4 data types
- validation HOT 5
- TpFIBDataSet.RefreshFromQuery подставляет лишние записи в датасет
- Access violation in TFIBCustomDataSet.DataEvent on 64bit application with Delphi 11.1 HOT 2
- About version
- Installation
- Incomplete
- FIB Editor not displaying correctly HOT 2
- В дизайтайм-пакете FIBPlusEditors2007.dpk (и т.п.) ссылка на отсутствующий UnitSyntaxMemo.
- TpFIBClientBCDField.GetAsVariant in case IsNull is true
- Can't install FIBPlusEditors2007.dproj
- Can't find by name lookup field with type TFIBWideStringField HOT 1
- cacheSchema slows down user experience when firebird is over internet
- Problem with fibplus installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fibplus.