Txs for the info,
Alain
2013/10/13 Benoît Minisini
> Le 12/10/2013 21:42, Alain Baudrez a écrit :
> > In an app where I use a class to retrieve info from a database, I use the
> > constructor method _new() to open the connection to the db as follows:
>
> The database is automatically closed w
Le 12/10/2013 21:42, Alain Baudrez a écrit :
> In an app where I use a class to retrieve info from a database, I use the
> constructor method _new() to open the connection to the db as follows:
>
> Code snippet:
>
> ' Gambas class file
> ' Name: db.class
>
> Private $db As New Connection
>
> ' Cont
In an app where I use a class to retrieve info from a database, I use the
constructor method _new() to open the connection to the db as follows:
Code snippet:
' Gambas class file
' Name: db.class
Private $db As New Connection
' Contructor
Public Sub _new()
' Open the connection to the database