Jump to content

Die Holländer

Members
  • Content Count

    255
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Die Holländer

  1. Die Holländer

    Problem with Calculated fields in a TFDQuerry

    I was just wondering why you use a cache list. I use a DBGrid in one of my projects and added the calculated fields as extra columns in the DBGrid and to the FieldDefs of the query. Also in my case there is a file read calculated field and I hardly see any speed difference while displaying the resultset of the databse including the calculated fields. So, I never have used a cache list and I was just wondering why you need one, but as Uwe explained that sometime you need a cache list if the process is too slow and probably if you don't use a DBGrid.
  2. Die Holländer

    Problem with Calculated fields in a TFDQuerry

    But a dataset like DBGrid or client dataset is caching the calculated field values, right?
  3. Die Holländer

    Problem with Calculated fields in a TFDQuerry

    And... why do you use a Dictionary and not the calculated field?
  4. Die Holländer

    Problem with Calculated fields in a TFDQuerry

    Just for interest.. >>Dictionary<ID, FileSize> How did you fill this Dictionary and why are you using it during the OnCalcFields and not using the extra calculated field from the resultset itself for displaying?
  5. Die Holländer

    Delphi 12 Ribbon Issue

    When creating a GUI for applications with database and business logic, using tab menus, like Ribbon component, with many buttons can lead to a lot of code in your form. Create at least objects with you database logic..
  6. Die Holländer

    certificate error

    Edge also..
  7. 👍 Very nice place. Also quick bus to Amsterdam center nearby. Plenty of herring and smoked eel availble.
  8. Die Holländer

    Slow performance. HELP!

    Is it always on specific SQL statements/queries, like the Select you showed? You can try not to lock those Selects by: 'select * from "myTable" where ..... with(NOLOCK)'; Just to see if the locking READ COMMITTED is the problem. See if the database drivers your users using are still the same.
  9. Die Holländer

    ToolBar just knoledg

    Can you tell what your problem is?
  10. Die Holländer

    ToolBar just knoledg

    Maybe because in design time you copied the toolbar from dmSharedImages module on your form. While pasting the toolbar on your form the IDE knows where the images are located. That's why you see on the form: Images = dmSharedImages.Images In Runtime your form has no connection to the dmSharedImages, so the images are ignored and they disappear.
  11. Die Holländer

    Convert project c# to pascal

    python4delphi
  12. Die Holländer

    Applications for Linux

    Also for FireDac you need at least Delphi Enterprise. (Professional only FireDac local/embedded databases)
  13. Die Holländer

    components ?!

    There are too much components to add them in a book. There are visual, non-visual and thirth party components. Are you talking about components native delivered in Delphi? (Which version of Delphi?) You have to explain what programming problem you want to solve before you know what components you need to use.
  14. Die Holländer

    FMX learning resources?

    Right-Click on the webpage and "Translate to .....". (or where your browser has this option)
  15. Die Holländer

    Realy ?

    No, we are in the desktop application business and Delphi is by far the best using databases, reporting and whatever you think of to do. But if you want to step in the AI business and want to automate your calendar appointments, sort your e-mail and let AI book a flight for you then yes.
  16. Die Holländer

    Is this a change in 12.3??

    public Constructor Create(aOwner: TComponent; aQty:Integer; aFileName:string; aQuery:String; aTitle:string);reintroduce; end; procedure TStatsGridForm.Create(aOwner:TComponent; aQty:Integer ;aFileName:string; aQuery:String; aTitle:string); begin FsQuery:=aQuery; FiQty:=aQty; FsFileName:=aFileName; FsTitle:=aTitl; Caption := FsTitle + ' - Total records..' + IntToStr(FiQty); JobTickets.SQL.Clear; JobTickets.SQL.Add(FsQuery); JobTickets.Prepare; JobTickets.Open; ... end;
  17. Die Holländer

    Is this a change in 12.3??

    In this situation I would pass the parameters to the onFormCreate procedure. procedure TStatsGridForm.FormCreate(Sender: TObject,..,..,aQuery); begin fQuery:=aQuery .... JobTickets.SQL.Clear; JobTickets.SQL.Add(fQuery); JobTickets.Prepare; JobTickets.Open; ... end;
  18. Die Holländer

    Is this a change in 12.3??

    Always take care to put things in onShow. That can be called more often than you wish, unlike onCreate.
  19. Die Holländer

    Introducing Delphi++

    I like this one very much : All comments must be written in haiku format
  20. Die Holländer

    Copy MSSQL Database

    Yes, must be. Just look how much time it takes on the server a 10+GB file (movie or such) is copying from one directory to another.. Here a few GB database backup costs about 20 seconds.
  21. Die Holländer

    AI Rewrite and COBOL Port Announced for Immediate Development

    Instead of COBOL, I highly recommend to GExperts the IBM RPG Programming Language RPG is a high-level programming language for business applications, introduced in 1959 for the IBM 1401. It was one of my first professional programming language before using Delphi and it was a delight to program in columns.
  22. Die Holländer

    Embarcadero needs my location?

    So, if the message is because of a Windows update does that mean Rad studio has always asked for your location without the notification of Windows beforte the update?
  23. Die Holländer

    Creating an app to play Youtube videos

    Maybe you can read the clipboard with a timer and everytime the clipboard has a new "https://www.youtube.com" string you parse, add (see Remy) and start the video.
  24. Which version of Comment-AI are you using?
  25. Die Holländer

    MCP Server in Delphi

    No, you can start the implementation.
×