Dear Sir, 
Thank you for your reply, after execute the line 
"#rpm -ivh --nodeps gambas2-gb-db-postgresql-2.13.1-1.fc11.i586" 
fedora 11 said "no such file or directory".
The following is the simplify program

PRIVATE $res AS Result
PRIVATE $Con AS NEW Connection
PRIVATE SUB OpenDataBase()
                $Con.Close()
                $Con.Type = "postgresql"
                $Con.Host = "localhost"
                $Con.Login = "fate"
                $Con.Port = "5432"
                $Con.Name = "mydb"
                $Con.Password = "zA3)8p(#"
                $Con.Open() ' Open the connection
                $res = $Con..exec("select * from myTable;") 
END

This program is just a input data form, after click run button, there is no 
error message, and no input form shown.
if the last 2 line 
$con.open() 
$res = $con.exec("select * from myTable;")
are not execute, then you will have two error message, like following

(InputDef:3256): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion 
`atom != GDK_NONE' failed

(InputDef:3256): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion 
`atom != GDK_NONE' failed
but the input form will be show out.
Thank you


_______________________________________
 辣茩妏蚚閉湮⺍講捇誥蚘眊 
 http://cn.mail.yahoo.com 
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to