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 ?
SAMPLE OF A TREEVIEW WITH MDB
SAMPLE OF A TREEVIEW WITH MDB
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: SAMPLE OF A TREEVIEW WITH MDB
You can use TTreeView class.Silvio wrote: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 ?
EMG
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Mr Silvio
I sent a small sample to your personal email. Yes it uses TTreeView also as one of the alternatives.
Incidentally there is another way of reading parent - child relationships, which is called DataShaping. I did not include this, because it is more advanced and complex
I sent a small sample to your personal email. Yes it uses TTreeView also as one of the alternatives.
Incidentally there is another way of reading parent - child relationships, which is called DataShaping. I did not include this, because it is more advanced and complex
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India