Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Learn How To Send Arrays To A PostgreSQL Database Server Using FireDAC In Delphi On Windows

Location

You can find the Arrays project at:

How to Use the Sample

  1. Navigate to the location given above and open PGArrays.dproj.
  2. Press F9 or choose Run > Run.

Files

File in DelphiContains
PGArrays.dproj
PGArrays.dpr
The project itself.
fMain.pas
fMain.fmx
The main form.

Implementation

Before running the sample, the main components are configured at design time using the Object Inspector as follows:

When you run the application, you see a grid, a combo box and two buttons labeled as PG Read and PG Write. The purpose of these components in this sample is the following:

For more information you can refer to the link below:

http://docwiki.embarcadero.com/CodeExamples/Sydney/en/FireDAC.PostgreSQL_Arrays_Sample

Check out the demo source code for PostgreSQL Arrays in Windows apps here.

Exit mobile version