Page 1 of 1

Enable BDC = False

Posted: Mon 18 Aug 2008 19:44
by ssantana
Hi!!... Im with a problem when I use EnableBCD= False. In a stored procedure the parameter still as BCD Field. Why? The logic type will be Float Field

Posted: Tue 19 Aug 2008 11:32
by Plash
Probably the parameters were created at design time and stored in the form. Try to recreate parameters. Clear the StoredProcName property, then set it again.

Nothing!!

Posted: Tue 19 Aug 2008 15:22
by ssantana
I try this and nothing... it still be BCD field....!!!! this is a big problem because I need a 10 precision field.. and BCD only support 4.

one more information

Posted: Tue 19 Aug 2008 18:37
by ssantana
its only occurs in stored procedure parameter....

Posted: Thu 21 Aug 2008 09:06
by Plash
For all Delphi versions prior to Delphi 2007 you cannot set EnableBCD=False in the Params property of TSQLConnection. You should use TCRSQLConnection component instead.

If you are setting the StoredProcName property at desing time, the EnableBCD option also should be set at design time before setting the StoredProcName property. Check that you are using TCRSQLConnection component in this case.