Sign in to follow this  
Followers 0
autoitxp

ms-access GUICtrlCreateTreeViewItem

1 post in this topic

Hi

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.Close
$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  
Followers 0