More problems with output parameters 1: Old Values

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
NineBerry
Posts: 11
Joined: Tue 02 Sep 2008 14:54

More problems with output parameters 1: Old Values

Post by NineBerry » Thu 04 Sep 2008 13:19

Executing the following statement in TIBCSQL:

Code: Select all

    
  UPDATE "NumberGroups" 
    SET "Current" = "Current" + :BlockSize
    WHERE "ObjectType" = :ObjectType
    RETURNING OLD."Current";
IBC will try to create two output parameters: "RET_OLD" and "RET_Current". Creating the second parameter will fail...

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 05 Sep 2008 08:18

We have fixed this problem. The fix will be included in the next build of IBDAC.

NineBerry
Posts: 11
Joined: Tue 02 Sep 2008 14:54

Post by NineBerry » Fri 05 Sep 2008 14:13

Thank you very much :D

Post Reply