CodeDatabaseDelphiRAD Studio

Power Tip: Learn How to Send Arrays To An InterBase Database Using FireDAC In Delphi

The Arrays sample shows you how to use the TFDParam.ArrayType property to send arrays to a database server. To this end the ArrayType property is set to atTable.Note: This demo establishes a connection to the Interbase localhost server by default, using the SYSDBA user. You can change these parameters to connect to a different InterBase server using a valid user name and…
Read more
CodeDatabaseDelphiRAD Studio

Learn How To Define Powerful Dataset Views Using Indices With FireDAC In Delphi Windows Development

The Indices sample shows you how to use the Indexes property of TFDQuery in order to specify a collection of indexes at design time and determine the data view of each index, including a sort order of the records. Moreover, you can sort the records on a specific field using the IndexFieldNames property. Click on a grid column title to sort its records at run time. Location You can…
Read more
CodeDelphiNews

Fast Inverse Square Root in Delphi's Object Pascal

Does Delphi make you a better programmer? Is Object Pascal code more readable? There is an algorithm with a mystery constant that rose to fame in John Carmack’s Quake III Arena C code for quickly estimating the inverse square root of a 32-bit floating-point number. float Q_rsqrt( float number ) { long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y =…
Read more
CodeDatabaseDelphiRAD Studio

Quickly Learn How To Debug And Monitor Your FireDAC Connection In Delphi

TheMoniLayerClientssample shows you how to use the FireDACtracing and monitoringcapabilities to show how an application is communicating with a FireDAC monitor client. To this end, the sample uses two different FireDAC monitor clients: FlatFile-client and Remote-client. To use both monitor clients, the sample uses two client link components: the TFDMoniFlatFileClientLink…
Read more