troubleshooting Question

DataType ftBCD (Delphi 2007), ftFMTBCD (Delphi 2009) problems ...

Avatar of trevsoft
trevsoft asked on
DelphiMySQL Server
3 Comments1 Solution2493 ViewsLast Modified:
Hi Experts,

I have been in the process or converting over my code from Delphi 2007 to Delphi 2009.

I have found my source is having an issue with decimal fields in SQL Server, in Delphi 2007 they had a datatype of ftBCD and i believe all previous versions also.

Now when i open my source in Delphi 2009, i get an error saying the "argument is of the wrong type" and i pinpointed it to the ftBCD datatype.

I then did a search and replace to change the datatypes to ftFMTBCD but now when i check the parameters in my query its coming up as "ftUnknown"

So for a decimal datatype what do i change the datatype to in Delphi?


Thank you in advance.


Trevor
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros