SAMPLE OF A TREEVIEW WITH MDB
Posted: Sat Feb 09, 2008 9:44 pm
TO OPEN A FILE i MADE :
oRs = CREATEOBJECT( "ADODB.Recordset" )
TRY
oRS:Open( "SELECT * FROM CATEGORIE ORDER BY SCATEGORIE", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=ecom.mdb", 1, 3 )
CATCH oErr
? oErr:Description
RETURN NIL
END TRY
NOW i MUST CREATE A LISTBOX TREEVIEW WITH THIS MAP
sCATEGORIE
-----> CATEGORIE
-----> CATEGORIE
sCATEGORIE
-----> CATEGORIE
HAVE YOU ANY SAMPLE ?
oRs = CREATEOBJECT( "ADODB.Recordset" )
TRY
oRS:Open( "SELECT * FROM CATEGORIE ORDER BY SCATEGORIE", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=ecom.mdb", 1, 3 )
CATCH oErr
? oErr:Description
RETURN NIL
END TRY
NOW i MUST CREATE A LISTBOX TREEVIEW WITH THIS MAP
sCATEGORIE
-----> CATEGORIE
-----> CATEGORIE
sCATEGORIE
-----> CATEGORIE
HAVE YOU ANY SAMPLE ?