Page 1 of 1

ftAutoInc problem with TUniQuery

Posted: Sat 20 May 2017 21:07
by ertank
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

Re: ftAutoInc problem with TUniQuery

Posted: Mon 22 May 2017 09:38
by azyk
We are investigating the possibility to return the ftAutoInc field type for auto-incrementing fields and will inform you about the results.

Re: ftAutoInc problem with TUniQuery

Posted: Mon 22 May 2017 17:32
by ertank
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