Search found 3 matches
- Thu Oct 06, 2011 5:08 pm
- Forum: VCL
- Topic: TDBTree - change font color based upon database field value?
- Replies: 1
- Views: 39605
TDBTree - change font color based upon database field value?
Hello, TDBTree has properties for CodeField and ParentField, which gives a nice hierarchical display. I would like to be able to control the tree item text color that is displayed depending on the value of a database field. The value of the database field would determine in which color the tree item...
- Wed Oct 05, 2011 2:16 pm
- Forum: VCL
- Topic: TDBTree Code Parent - Master Detail - sample code
- Replies: 2
- Views: 43466
Re: TDBTree Code Parent - Master Detail - sample code
Good afternoon,
Using Parent / Code relationship Delphi code we solved this issue by changing the SQL - query using UNION ALL.
select ...
from table1
UNION ALL
select ...
from table1, table2
where ... ( join )
Best regards,
Erik
Using Parent / Code relationship Delphi code we solved this issue by changing the SQL - query using UNION ALL.
select ...
from table1
UNION ALL
select ...
from table1, table2
where ... ( join )
Best regards,
Erik
- Mon Oct 03, 2011 2:48 pm
- Forum: VCL
- Topic: TDBTree Code Parent - Master Detail - sample code
- Replies: 2
- Views: 43466
TDBTree Code Parent - Master Detail - sample code
I have implemented a TDBTree using one dataset with a code field and a parent field pointing to it. Similar to TDBTree Wizard sample code (Database Tree Wizard). Now I would like to add one additional level to the end of the tree based upon a master - detail relationship. Could you please provide so...