Jump to content

Roger Cigol

Members
  • Content Count

    326
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Roger Cigol

  1. Roger Cigol

    Modernizing the Dev-C++ IDE

    Can you compile VCL framework on it though? I don't think so. So how would you do a GUI program? Where do you see Dev C++ fitting in with C++ builder ?
  2. Roger Cigol

    Unable To Find File

    There are still known issues with the code completion in version 10.4. The roadmap suggests that things should be much better in 10.4.2 See Nov 2020 road map
  3. Roger Cigol

    TeeChart with vertical bar?

    I don't think this is in the bundled edition of TeeChart. I achieve this by creating an additional line on the chart and then making points on the line of the background colour along the y = bottom axis and then, where the vertical line should be add a point on the bottom axis of the colour you want the line to be and then add the next point on the y = top axis with the same colour (and same x value) and then any subsequent points go back to the background colour.
  4. Roger Cigol

    Primary Key on FDMemTable

    I am using DUnit based unit tests to devlop FireDAC VCL C++ code (Sydney 10.4.1). I am using FDMemTables to create test instances of database tables to unit test FDQuery operations etc. So I want the FDMemTable to accurately reflect the structure of the eventual end database table(s). Some (most) of these tables need a primary key, often consisting of several fields. I can find how to add indexes to FDMemTables { using TFDIndex *NewIndex = MyFDMemTable->Indexes->Add() } but I can't find a way to add a primary key to the FDMemTable. Question ; can anyone show me C++ code (or Delphi code is fine too) how to add a primary key to a newly created FDMemTable.
  5. Roger Cigol

    Primary Key on FDMemTable

    Thank you. I did realise that my FDMemTable is acting as a mock. But what is the indice ?
  6. Roger Cigol

    Primary Key on FDMemTable

    Hi Uwe - Just spotted that you are different person to Anders. sorry to be so rude (and confusing?) with my last post !
  7. Roger Cigol

    Primary Key on FDMemTable

    Hi Anders, Your first post pointed me in the right direction. I am now getting the expected exception when I deliberately try to post a "duplicate" entry to the table. - great ! really appreciate this. My plan was to do a little more testing (and test writing) and then click on the "thanks" button. But your second post has got me intrigued. I don't know what a query mock indice is. The goal is to have a close match "as is reasonably practical". But since I don't understand/recognise your term I am not qualified to make the judgement as to it being "reasonably practical". If you do have a spare moment to explain it would be really appreciated and valuable to me....
×