Jump to content
Sign in to follow this  

ms-access GUICtrlCreateTreeViewItem

Recommended Posts



i need little help here . i connected to mdb database using this script how can i tree view column1 using GUICtrlCreateTreeViewItem

Local $oRS
Local $oConn

$oConn = ObjCreate("ADODB.Connection")
$oRS = ObjCreate("ADODB.Recordset")
$oConn.Open("Driver={Microsoft Access Driver (*.mdb)};Dbq=mydb.mdb")

$oRS.Open("Select * FROM Table2", $oConn, 1, 3)

MsgBox(1,"", "There are " & $oRS.RecordCount & " column1.")

$oConn = 0

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.