CodeDatabaseDelphiHow-To'sWebinar

How To Make MySQL Your SQL

Today (December 20th 2022) and tomorrow you can join us for Embarcadero’s two day Enterprise CodeRage event which focusses, as you might expect, on enterprise development topics using your favorite IDE software. I am presenting two sessions – this blog post describes the first session: How To Make MySQL Your SQL. The second session is tomorrow (December 21st 2022) and there is a…
Read more
C++

Secrets of FireDAC: Pagination With Grids And LiveBindings

If you want to display only a range of results from a recordset you can using paging (otherwise known as pagination) to do so. It is a common pattern when doing web development to give the user 20 results for example and then the ability to move to the next page. If you are implementing a REST API in RAD Server you might also implement this functionality instead of delivering 2 million rows for…
Read more
Delphi

Using Delphi, from Excel to JSON, then FireDAC[JAPAN]

Author: John D7279 //// class function ExcelToJson(cells: TRect; excel_filename, sheet_name: String):TJSONObject; It is a code for excel to JSON. //// class function TExcelToFireDAC.ExcelToJson(cells: TRect; excel_filename, sheet_name: String): TJSONObject; const def_excel_application = 'Excel.Application'; var jres: TJSONObject; jline: TJSONObject; ExcelApp…
Read more