[GB.DB]
* NEW: Add a warning message if a connection password cannot be retrieved. git-svn-id: svn://localhost/gambas/trunk@4254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
69ec6d6800
commit
90f6aad33c
@ -1,8 +1,8 @@
|
||||
# Gambas Project File 3.0
|
||||
# Compiled with Gambas 2.99.0 (r2121)
|
||||
# Compiled with Gambas 2.99.6
|
||||
Title=gb.db
|
||||
Startup=Main
|
||||
Version=0.0.12
|
||||
Version=0.0.13
|
||||
Component=gb.db
|
||||
TabSize=2
|
||||
MakeComponent=1
|
||||
|
@ -86,6 +86,9 @@ Static Public Sub _get(Name As String) As Connection
|
||||
|
||||
If bPassword Then
|
||||
Try hConn.Password = Desktop.Passwords[Application.Name &/ Name]
|
||||
If Error Then
|
||||
Error "gb.db: warning: unable to retrieve connection password: "; Application.Name &/ Name & ": "; Error.Text
|
||||
Endif
|
||||
Endif
|
||||
|
||||
$cConn[Name] = hConn
|
||||
|
Loading…
x
Reference in New Issue
Block a user