Page 1 of 1

Current Demo Project Mostly Generate Error

Posted: Fri 09 Jan 2015 13:43
by Luthfi
As the subject says, current demo project nearly always generates "[0x005]: Operation Not Supported" error. I know I have the source code and find the problem myself. But I think I will let you know.

Re: Current Demo Project Mostly Generate Error

Posted: Mon 12 Jan 2015 08:54
by AlexP
Hello,

This error occurs when using dbExpress. This is an internal error of the dbExpress, and we can't affect this behavior. Try using another EntityProvider.

Re: Current Demo Project Mostly Generate Error

Posted: Wed 14 Jan 2015 14:05
by nenad
so your product is not working with dbexpress ?

As this is one of the features advertised on the compatibility page -
how can i know which other features are also not *really* working ..
:shock:

i was on the brink to buying it but now i think i will have to do a looong trial
before i can be sure that its really doing the things i need ...

edit:i wanted to add that i need it to work with firedac (postgres)
so if you have anything to say about how well they work ...

Re: Current Demo Project Mostly Generate Error

Posted: Thu 15 Jan 2015 09:28
by AlexP
This error is due to retrieving RecordCount (function TCustomSQLDataSet.GetRecordCount: Integer;). If the a query contains parameters, the '[0x0005]: Operation Not Supported' error will be generated. Since this is implementation of dbExpress, and we can't affect this behavior in any way.

This error will occur in any dbExpress driver when attempting to retrieve RecordCount if the query contains a parameter:

Code: Select all

  SQLQuery1.SQL.Text := 'SELECT * FROM EMP where empno = :p1';
  SQLQuery1.Open;
  ShowMessage(IntToStr(SQLQuery1.RecordCount));
This error will occur only when using dbExpress provider, and won't occur on using the other providers.