gerard1979
MIS
I have a little design problem.
I have a Ref. from a Ordertable. This Ref. had to be scheduled in a daterange. Daterange can be 31-12-02 till 3-01-02 but also can be 31-12-02, 3-01-02 till 5-01-02, 11-01-02.
What's the best method to save this?
I tried:
tblSchedule:
OrderRef (foreign key from OrderTable)
Date1 (start date)
Date2 (end date)
Team (who works it out)
To save the records like
Ordernr Date1 Date2 Team
1 31-12-02 3-12-02 1
2 31-12-02 31-12-02 2
2 3-01-02 5-01-02 2
2 11-01-02 11-01-02 2
I'm not sure if this the best solution but.....
maybe somebody knows a better way,
Thanx in advance,
Gerard
I have a Ref. from a Ordertable. This Ref. had to be scheduled in a daterange. Daterange can be 31-12-02 till 3-01-02 but also can be 31-12-02, 3-01-02 till 5-01-02, 11-01-02.
What's the best method to save this?
I tried:
tblSchedule:
OrderRef (foreign key from OrderTable)
Date1 (start date)
Date2 (end date)
Team (who works it out)
To save the records like
Ordernr Date1 Date2 Team
1 31-12-02 3-12-02 1
2 31-12-02 31-12-02 2
2 3-01-02 5-01-02 2
2 11-01-02 11-01-02 2
I'm not sure if this the best solution but.....
maybe somebody knows a better way,
Thanx in advance,
Gerard