[Gambas-user] How to know Connection State?

Teguh Nuryadi teguh.nuryadi at ...435...
Thu Apr 22 09:54:26 CEST 2004


Dear,

I am Teguh Nuryadi from Kebumen, Jawa Tengah (Central Java) - Indonesia but now on Jakarta.  I am proffesional in Microsoft Visual Basic, but in Gambas i am beginner.

Now i convert my project to Manage SMS from mobile phone from Visual Basic Language to Gambas

I have a problem to handle connection state.
if in Visual Basic handle with
    dim cn as new ADODB.Connection

    cn.open 'connection string'
  cn.state   --> if 1 is open and 0 is close

Second, how to close our Result 
if in Visual Basic
    dim rs as new ADODB.Recordset

    rs.open 'sql statement', connection
    rs.close    ---> to close opened recordset

but in Gambas i'm not meet it.

Please kindly help me to solving problem

Thank you


Teguh Nuryadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040422/fb207621/attachment.html>


More information about the User mailing list