Jump to content

Dmitry Arefiev

  • Content Count

  • Joined

  • Last visited

  • Days Won


Dmitry Arefiev last won the day on February 20

Dmitry Arefiev had the most liked content!

Community Reputation

59 Excellent


Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dmitry Arefiev

    SQLite, adding a function

    SQLite is really typeless database. When you use AOutput.AsCurrency, then FireDAC maps this to SQLITE_TEXT (to keep precision), and AOutput.AsFloat to SQLITE_FLOAT. To "remap" an expression in SELECT list to a Delphi specific type you should use special construction in SELECT list: <expression> AS "<alias>::<type>" More about that: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_SQLite_with_FireDAC#Adjusting_FireDAC_Mapping
  2. This is a bug in TFDBatchMoveTextReader. To fix it: open FireDAC.Comp.BatchMove.Text.pas locate there lines (around line # 1750): until FEof or lEOL or not lInDelim and (FBuff[iLen] = DataDef.Separator); if not FEof then Dec(iLen); replace with: until FEof or lEOL or not lInDelim and (FBuff[iLen] = DataDef.Separator); if not FEof or not lEOL then Dec(iLen); add FireDAC.Comp.BatchMove.Text.pas to your project, or include path to this unit to project->options Search Path, or to tools->options Library Path PS: Best will be to report this issue to quality.embarcadero.com
  3. Dmitry Arefiev

    ftstring vs varchar in TFDMemTable

  4. Dmitry Arefiev

    TFDMemTable.CopyDataSet multiplicates some records

    Fixed. Changes will be in 10.4 Update 2.
  5. Dmitry Arefiev

    TFDMemTable.CopyDataSet multiplicates some records

    Ok, I reproduced your issue after modifing your failing query in second post to: select * from FDMemTable1 where Field_1 like :Param_B or Field_2 like :Param_B or Field_3 like :Param_B
  6. Dmitry Arefiev

    TFDMemTable.CopyDataSet multiplicates some records

    I cannot reproduce the issue using 10.4.1. Could you please post: 1) Your RAD Studio version 2) Simple test project reproducing the issue
  7. Dmitry Arefiev

    Firedac connection to paradox via odbc

    1) Please post FireDAC environment report for your connection: http://docwiki.embarcadero.com/RADStudio/Sydney/en/DBMS_Environment_Reports_(FireDAC)#Using_the_TFDConnection_Design_Time_Editor 2) Can you attach one of the DB files ?
  8. Dmitry Arefiev

    Ole DB (Ado) for MSSQL un-deprecated by Microsoft

    In the plan is to check latest MS SQL ODBC driver, and update FireDAC MSSQL driver if needed. No plans for OLEDB support. Just no sense ...
  9. Dmitry Arefiev

    Attach tFDmemTables to memory sqlite database

  10. Dmitry Arefiev

    Adding lookup fields to active dataset, how?

    No way.
  11. Dmitry Arefiev

    IIF func in FireDAC SQLite Local SQL

    FireDAC in 10.4.1 uses SQLite 3.31.1. But IIF was added in 3.32. Instead you can use FireDAC macro function: {IIF(....)}: http://docwiki.embarcadero.com/RADStudio/Sydney/en/System_Macro_Functions_(FireDAC)
  12. Dmitry Arefiev

    FireDAC and pooling random error

    You mean, that each FDQuery will get own connection from pool ? If yes, then this will lead to a lot of issues ...
  13. Dmitry Arefiev

    FireDAC and pooling random error

    When FDQuery's use ConnectionName, then single temporary TFDConnection will be created transparently and used by all FDQuery's, etc
  14. Dmitry Arefiev

    Migration from BDE paradox to TFDtable or other options

    FireDAC TFDTable emulates BDE/Paradox TTable behavior using LDW mode. This is expensive, and disabling LDW mode will improve performance. More info: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Browsing_Tables_(FireDAC) But anyway, you will never get 100% similar performance to BDE/Paradox TTable with big tables. Any TxxxTable will request DB server and will fetch the data. When data is fetched, then operations will be fast and similar to TTable.