TGantSeries in TDBChart
Posted: Thu Sep 28, 2006 8:07 am
Hi,
I tried to build my first gant chart using DB but could not work it out since after loading data NextTask alwyas mixed up.
I use the following sql statement to populate data:
Create Table #GantTest
(
Start DateTime,
Y int,
[End] DateTime,
NextTask int
)
Insert #GantTest Values('01/01/2006', 1, '01/10/2006', 3)
Insert #GantTest Values('01/05/2006', 2, '02/10/2006', -1)
Insert #GantTest Values('01/15/2006', 3, '01/20/2006', 4)
Insert #GantTest Values('01/21/2006', 4, '01/31/2006', 6)
Insert #GantTest Values('01/15/2006', 5, '01/17/2006', 6)
Insert #GantTest Values('02/01/2006', 6, '03/01/2006', -1)
Select * from #GantTest
Drop Table #GantTest
Any help will be much appreciated.
Thanks,
Doug
I tried to build my first gant chart using DB but could not work it out since after loading data NextTask alwyas mixed up.
I use the following sql statement to populate data:
Create Table #GantTest
(
Start DateTime,
Y int,
[End] DateTime,
NextTask int
)
Insert #GantTest Values('01/01/2006', 1, '01/10/2006', 3)
Insert #GantTest Values('01/05/2006', 2, '02/10/2006', -1)
Insert #GantTest Values('01/15/2006', 3, '01/20/2006', 4)
Insert #GantTest Values('01/21/2006', 4, '01/31/2006', 6)
Insert #GantTest Values('01/15/2006', 5, '01/17/2006', 6)
Insert #GantTest Values('02/01/2006', 6, '03/01/2006', -1)
Select * from #GantTest
Drop Table #GantTest
Any help will be much appreciated.
Thanks,
Doug