Ada Programming/Libraries/Database/GWindows

Library functions
David Botton created GNATCOM project to help Ada interoperate with Windows COM Object. The GWindows project is based on GNATCOM. It is used to create Windows Graphics User Interface.

The database package is a subset of the GWindows project. It is very easy and useful.

Library links

 * Author          : David Botton
 * Homepage        : http://www.gnavi.org/index.php?Command=Class&ClassID=GWindowsWin32&Title=GWindows
 * Project Info    : GWindows
 * Library Document : http://www.gnavi.org/gwindows/ref/gwindows-databases.html
 * CVS Archive     : - missing -
 * Download        : http://www.gnavi.org

Sample code
Gnatcom.Initialize; Gnatcom.Types; Gnatcom.Variant; Gwindows.Databases;  Gwindows.Databases; ;         ;  ;  ;  ;  ;  Test Connection : Database_Type; Recordset : Recordset_Type; customer  : Gnatcom.Types.Variant; Gnatcom.Initialize.Initialize_Com; Open (Connection,        "DSN=Northwind","your ID","your password"); Open (Recordset,        Connection,         "SELECT * from Orders",         Dynamic,         Optimistic); Eof (Recordset) customer := Field_Value(Recordset,"customerId"); Process (customer); Move_Next (Recordset); ;     Gwindows.Databases.Close(Recordset); Test;

Wikibook

 * Ada Programming
 * Ada Programming/Libraries
 * Ada Programming/Libraries/Database

Ada Reference Manual
—none apply—

|GWindows