Append event needed

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kaffeburk
Posts: 214
Joined: Mon 29 Jan 2007 08:03

Append event needed

Post by kaffeburk » Thu 22 Dec 2016 07:34

Hello,

I use DevExpress VCL components and some of them have both append and insert like quantumgrid (cxgrid). Unidac dont have any afterappend event so i cant catch when the user appends, only inserts. Can You add an after append event?

emailx45
Posts: 8
Joined: Tue 17 Apr 2012 18:04

Re: Append event needed

Post by emailx45 » Thu 22 Dec 2016 21:53

OnAfterInsert event of DatasetCmp or in DataSource events

if you dont COMMIT you have one Append post

kaffeburk
Posts: 214
Joined: Mon 29 Jan 2007 08:03

Re: Append event needed

Post by kaffeburk » Thu 22 Dec 2016 22:38

emailx45 wrote:OnAfterInsert event of DatasetCmp or in DataSource events

if you dont COMMIT you have one Append post
Nope, OnAfterInsert wont fire on CXgrid append, but it will fire on a CXgrid insert. No event in tUniQuery will fire after an CxGridAppend. That is the problem.

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Append event needed

Post by azyk » Fri 23 Dec 2016 11:30

The dataset OnAfterInsert event should occur when inserting a record and appending it. More about this in the Embarcadero documentation: http://docwiki.embarcadero.com/Librarie ... fterInsert

The described problem is not reproduced when using standard TDBGrid. Please address this question to the DevExpress developers.

kaffeburk
Posts: 214
Joined: Mon 29 Jan 2007 08:03

Re: Append event needed

Post by kaffeburk » Sat 31 Dec 2016 08:21

Hello,

What I can see in DevExpree help, there is something missing in the data-source (in this case the tUniQuery).



https://www.devexpress.com/Support/Cent ... ls/Q242068

Regards, Pär

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Append event needed

Post by azyk » Wed 04 Jan 2017 08:54

Try to reproduce the problem you’ve described using TDBGrid. If the problem is reproduced, then send us a small test project via the contact form on our website: http://www.devart.com/company/contactform.html . Please also include scripts for creating test tables in the project.

If the problem is reproduced only on DevExpress components, then contact the developers of DevExpress to solve the problem.

Post Reply