Alien777
10-22-2004, 03:08 AM
My database has 2 tables namely: STANDARDSET_HEADER and STANDARDSET_DETAIL.
STANDARDSET_HEADER consists of the following fields:
ID Autonumber
FishSize int
Skinning int
CuttingPattern int
CutSet int
Created DateTime
STANDARDSET_DETAIL consists of the following fields:
Id Autonumber
Header int
Material int
Percentage decimal(10,2)
Manhours decimal(10,2)
STANDARDSET_HEADER links to STANDARDSET_DETAIL via id and header.
Now I need to indicate which 'StandardSet' is the latest or the 'available' one. The standardsets are updated every few days so that when the data is captured it can use the latest standard without any explicit user intervention. There are a maximum of 12 different fish sizes. There will be at most 2 live standardsets per fishsize at any time (1 for day shift and 1 for night shift). I need to make a few changes to STANDARDSET_HEADER to help me achieve this. Any help or suggestions will be appreciated.
STANDARDSET_HEADER consists of the following fields:
ID Autonumber
FishSize int
Skinning int
CuttingPattern int
CutSet int
Created DateTime
STANDARDSET_DETAIL consists of the following fields:
Id Autonumber
Header int
Material int
Percentage decimal(10,2)
Manhours decimal(10,2)
STANDARDSET_HEADER links to STANDARDSET_DETAIL via id and header.
Now I need to indicate which 'StandardSet' is the latest or the 'available' one. The standardsets are updated every few days so that when the data is captured it can use the latest standard without any explicit user intervention. There are a maximum of 12 different fish sizes. There will be at most 2 live standardsets per fishsize at any time (1 for day shift and 1 for night shift). I need to make a few changes to STANDARDSET_HEADER to help me achieve this. Any help or suggestions will be appreciated.