T
Tim
Dear helpers: I'm in a horrible bind! I have something
simliar to this:
Id JobId Start End
1 1 1981 1989
1 1 1994 1995
1 1 1999 2000
Nice and normal, and everyone's happy... except for the
person who needs it:
ID Job1 Job1Start1 Job1End1 Job1Start2 Job1End2 Job1Start3
Job1End3
1 -1 1981 1989 1994 1995 1999
2000
I can get it to work using GroupBy ID, MinofStart/End for
the first, Max of Start/End for the last, but the fact
that there is a middle entry is throwing me for a loop!
The "real life" problem consists of up to 10 entries for
dozens of these types of variables. I'm in no position to
question why this must be done, but I've been charged to
do it. They're counting on me, and I'm counting on a
couple of hints from you, oh wise Newsgroupers!
thanks ---
simliar to this:
Id JobId Start End
1 1 1981 1989
1 1 1994 1995
1 1 1999 2000
Nice and normal, and everyone's happy... except for the
person who needs it:
ID Job1 Job1Start1 Job1End1 Job1Start2 Job1End2 Job1Start3
Job1End3
1 -1 1981 1989 1994 1995 1999
2000
I can get it to work using GroupBy ID, MinofStart/End for
the first, Max of Start/End for the last, but the fact
that there is a middle entry is throwing me for a loop!
The "real life" problem consists of up to 10 entries for
dozens of these types of variables. I'm in no position to
question why this must be done, but I've been charged to
do it. They're counting on me, and I'm counting on a
couple of hints from you, oh wise Newsgroupers!
thanks ---