Jump to content

Mark Williams

Members
  • Content Count

    288
  • Joined

  • Last visited

Everything posted by Mark Williams

  1. Mark Williams

    TFDBatchMove delete records

    It's too slow for large updates.
  2. Mark Williams

    Mark post as answered

    Is there anyway of indicating that a post has been answered in this forum?
  3. Mark Williams

    FireDAC paramamania

    I am having difficulties with a parameterized query designed to be used repeatedly. It works first time but never a second. The query is fairly complicated so I prepare it on app initialization for repeated use, but it works just once and returns an empty dataset on every other occasion (even with the same parameter). If I reset the query text (FDQuery.SQL.Text := FDQuery.SQL.Text) it works as expected. That rather defeats the purpose of preparing the query in advance. Is it the case that parameters cannot be used in repeated queries?
  4. Mark Williams

    FireDAC paramamania

    So simple! Thanks.
  5. Mark Williams

    FireDAC clearDetails or EmptyDataSet

    I have been using ClearDetails to remove all records from TFDQuery components. However, I have experienced a problem today where a call to ClearDetails for a reusable query that is designed to return a single record is not removing that record. The description for this function states: Pretty much what I was expecting it to do, but (in this one case at least) it is not. I have switched to EmptyDataSet which does the job, but should I be updating all places where I use ClearDetails to update to EmptyDataSet?
  6. Mark Williams

    FireDac PostgreSQL and TBatchMove

    That's good to know. Thanks. Have you any experience of Batchmove and reverse inrements?
×