error in KEYGENERATOR

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mofp
Posts: 6
Joined: Thu 25 Jan 2007 14:13

error in KEYGENERATOR

Post by mofp » Wed 21 Feb 2007 13:52

it gives the following error me when property KEYGENERATOR is used.
"ERROR en la actualización
Dynamic SQL Error
SQL error code = -502
Attempt to reopen an open cursor"


this error takes place with the 2.0.0.0Fe version and not in 2.0.0.0F.

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Wed 21 Feb 2007 14:05

We can't reproduce this problem. Please do the following to help us detect its reason:
1. Specify your Firebird client/server version and your IDE version.
2. Add IBDACVCL to your Uses clause.
3. Set the Debug property, of dataset witch uses generators, to True.
4. Run your program.
5. Check that the SQL executed at insertion time is correct.
Note: IBDAC automatic SQL generation behavior depends on the Firebird server version you are using. In case of Firebird 2 and DataSet's GeneratorMode property set to gmPost (default settings) generator call is included in the insert SQL statement. In other cases the generator value will be explicitly retrieved using a dedicated SQL query.

Also if it is possible, send us a complete small sample project with script to create server side objects.

Send your message to IBDAC support address(see Support.html in IBDAC installation folder)

mofp
Posts: 6
Joined: Thu 25 Jan 2007 14:13

Do you receive my mails?

Post by mofp » Mon 05 Mar 2007 13:39

The 23/02 I sent the message with an example to [email protected] but I did not receive answers.

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Mon 05 Mar 2007 15:27

We received 2 your mails (23-Feb-2007 and 27-Feb-2007) and answered both of them. Please check your spam filter settings or specify another e-mail address we should use to answer you.

We have checked your example, but we still can not reproduce this problem.
Please send us the executable file and specify version of the InterBase/Firebird client you are using. To determine the client version, please perform the following steps:
- open the IBDAC connection editor in design time by double click on a TIBCConnection object;
- assign connection parameters and perform connect;
- open the connection editor again and copy information on the "Info" tab.

This information should look like following:

Server Version: WI-V6.3.0.12745 Firebird 2.0 Release Candidate 5
Client Version: 2.0
ODS Version: 11.0
Client Library: gds32.dll
Database SQL Dialect: 3

mofp
Posts: 6
Joined: Thu 25 Jan 2007 14:13

I´m sorry

Post by mofp » Wed 07 Mar 2007 20:48

I´m sorry, the problem is in the spam filter settings

Post Reply