P
Pete Provencher
I'm trying tjo write a query that will update the TMSSequence field. I would
like to sequence each row by TMS field and Date sold field. It has to be
able to see all the tms that are the same and then sequence them in
assending date sold order. I can't do this on input as the input table only
has what is being currently updated. I'm doing this in the history file
which contains each weekly update.
Thanks for any advice,
Query3 TMS TMSSequence DateSold
001-00-01-001 1
1/19/1989
001-00-01-001 2
11/23/2005
001-00-01-001 3
12/1/2005
001-00-01-001 4
4/27/2006
001-00-01-001 5
4/27/2006
001-00-01-001 6
1/18/2007
001-00-01-002 1
8/23/1994
001-00-01-003 1
11/22/2001
001-00-01-004 1
3/27/2001
001-00-01-007 1
7/16/2002
001-00-01-007 2
12/30/2005
001-00-01-008 1
2/26/1999
001-00-01-009 1
11/8/1994
001-00-01-010 1
2/21/2007
001-00-01-011 1
11/21/1995
001-00-01-011 2
10/27/2004
001-00-01-011 3
1/25/2008
like to sequence each row by TMS field and Date sold field. It has to be
able to see all the tms that are the same and then sequence them in
assending date sold order. I can't do this on input as the input table only
has what is being currently updated. I'm doing this in the history file
which contains each weekly update.
Thanks for any advice,
Query3 TMS TMSSequence DateSold
001-00-01-001 1
1/19/1989
001-00-01-001 2
11/23/2005
001-00-01-001 3
12/1/2005
001-00-01-001 4
4/27/2006
001-00-01-001 5
4/27/2006
001-00-01-001 6
1/18/2007
001-00-01-002 1
8/23/1994
001-00-01-003 1
11/22/2001
001-00-01-004 1
3/27/2001
001-00-01-007 1
7/16/2002
001-00-01-007 2
12/30/2005
001-00-01-008 1
2/26/1999
001-00-01-009 1
11/8/1994
001-00-01-010 1
2/21/2007
001-00-01-011 1
11/21/1995
001-00-01-011 2
10/27/2004
001-00-01-011 3
1/25/2008