Page 1 of 1

Where did automatically generated parameters go?

Posted: Tue 04 Feb 2014 18:26
by davort
Hello!

I just installed 5.2.5, I was using IBDac 5.1.4 before. The "old" version of IBCQuery automatically generated named parameters, whereas 5.2.5. generates values statement with a bunch of question marks instead of named parameters.

What part of documentation did I miss? Is this from now on the default behaviour and what do I need to do to adopt? Or do I just have some problems that other users don't?

I am using Delphi XE, and Delphi XE5. The behaviour is the same in both Delphis.


Thank You very much on Your prompt response!

Best regards,
Davor

Re: Where did automatically generated parameters go?

Posted: Tue 04 Feb 2014 18:32
by davort
Sorry, forgot to specify a bit:

- I add a TIBCQuery component to a form.
- I input a "SELECT * from TABLEX" into main SQL editor
- I open the SQL generator Tab
- After I select the table name, all of the fields are correctly set within Key fields and Update fields, and also correctly selected.
- I do the Generate SQL button and then go and see my Update SQLs.
- values statement should be e.g. VALUES (:FLD1, :FLD2, :FLD3, :FLD4) but instead they are
VALUES (?, ?, ?, ?).

It somehow doesn't work for me.

What did I screw up?


Using Delphi XE and Delphi XE5, Firebird 2.0.7, and IBDac 5.2.5 is what WOULD I like to use, but I have to use 5.1.4 instead. :)


Thanks again, hope it's just me being stupid ...

Re: Where did automatically generated parameters go?

Posted: Thu 06 Feb 2014 12:33
by PavloP
Thank you for the information.

We have reproduced the problem and fixed it. This fix will be included in the next IBDAC build.

Re: Where did automatically generated parameters go?

Posted: Thu 06 Feb 2014 17:46
by davort
PS: the same is with SDAC library. Do I need to check MYDAC and UNIDAC too, or it's the same module in all of them?

Re: Where did automatically generated parameters go?

Posted: Sat 08 Feb 2014 20:41
by minkus
When you planing to release next version ???

Re: Where did automatically generated parameters go?

Posted: Wed 12 Feb 2014 10:07
by PavloP
The next version release is scheduled for the last decade of February.