ftAutoInc problem with TUniQuery

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ertank
Posts: 172
Joined: Wed 13 Jan 2016 16:00

ftAutoInc problem with TUniQuery

Post by ertank » Sat 20 May 2017 21:07

Hello,

Using Delphi 10.2 Tokyo, UniDAC 7.0.2, SQL Server 2012 Express 64bit.

I have below line

Code: Select all

UniQuery1.DataTypeMap.AddFieldNameRule('id', ftAutoInc);
which raise an error

Code: Select all

Unsupported field type: 14.
Is there a way/workaround to identify my id database field as an autoincrement field type?

Thanks & regards,
Ertan

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: ftAutoInc problem with TUniQuery

Post by azyk » Mon 22 May 2017 09:38

We are investigating the possibility to return the ftAutoInc field type for auto-incrementing fields and will inform you about the results.

ertank
Posts: 172
Joined: Wed 13 Jan 2016 16:00

Re: ftAutoInc problem with TUniQuery

Post by ertank » Mon 22 May 2017 17:32

Thank you for the feedback. As such research is being carried out. I would like to indicate that I would be glad to have such a feature for following databases;
- SQLite
- SQL Server
- PostgreSQL

Post Reply