Unknown data type of parameter MyInt64

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Unknown data type of parameter MyInt64

Post by FredS » Thu 16 Sep 2021 19:09

How come I am getting 'Unknown data type' even though help says this:
Use Value in generic code that manipulates the values of parameters without the need to know the field type the parameter represent.
I could add its a BigInt but it never gets past Param parsing..


---------------------------
Project Project4.exe raised exception class Exception with message 'Unknown data type of parameter MyInt64'.
---------------------------

Code: Select all

procedure TForm2.FormCreate(Sender: TObject);
var LMyInt64: UInt64;
begin
  Con.SQL.SQL.Text := 'INSERT INTO MyTable (MyID, MyLevel, MyParent, MyName, MyInt64)' +
                      ' VALUES (:MyID, :MyLevel, :MyParent, :MyName, :MyInt64)';
  Con.SQL.Params[0].Value := 1;
  Con.SQL.Params[1].Value := 0;
  Con.SQL.Params[2].Value := 0;
  Con.SQL.Params[3].Value := '\';
  Con.SQL.Params[4].Value := LMyInt64;
  Con.SQL.Execute;
end;

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unknown data type of parameter MyInt64

Post by ViktorV » Fri 17 Sep 2021 14:36

Hi Fred,

Thanks for your reply.

Thank you for the information. At the moment our team is investigating it however I want to assure you that as soon as we have any results, we will immediately let you know.
Feel free to reply to this email if you have any additional questions or need any kind of additional instructions.

Best regards,
Viktor

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unknown data type of parameter MyInt64

Post by ViktorV » Fri 19 Nov 2021 10:16

Dear Fred!

Kindly be informed that we have fixed the bug you mentioned and its fix will be included in the next build of UniDAC.

Post Reply