Home > comp > gb.db > db > open 
 en fr de es nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Precedente  Successivo  Modifica  Rinomina  Undo  Refresh  Search  Amministrazione  
Documentazione
History
 
DB.Open (gb.db)
Static Sub Open ( )

Opens the connection to the database.

The connection properties should be set prior to this.

Esempio

DIM $hConn As NEW Connection

WITH $hConn
   .Type = "postgresql"
   .Host = "localhost"
   .Login = "username"
   .Password = "passwd"
   .Name = "testdb"
END WITH

TRY $hConn.Open
IF Error THEN PRINT "Cannot Open Database. Error = "; Error.Text