S
scstrachan
I would like to be able to group consecutive SortID's by SortType's T1,
N1 and P1. For instance, I need to be able to group SortID's 12123,
12122 & 12121. The SortID type is Number and the SortType (type) is
text. Any help would be much appreciated.
Thanks,
Scott
SortID SortType
12123 P1
12122 N1
12121 T1
12120 P1
12119 N1
12118 T1
12117 P1
12116 N1
12115 T1
12114 P1
12113 N1
12112 T1
12111 P1
12110 N1
12109 T1
12108 P1
12107 N1
12106 T1
Reply »
2 From: (e-mail address removed) - view profile
Date: Fri, Jan 12 2007 4:33 pm
Email: (e-mail address removed)
Groups: comp.databases.ms-access
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse | Find messages by this author
select sortId, sortType from tblX order by sortId Desc, sortType
- Hide quoted text -
- Show quoted text -
Reply » Rate this post: Text for clearing space
3 From: (e-mail address removed) - view profile
Date: Fri, Jan 12 2007 7:48 pm
Email: (e-mail address removed)
Groups: comp.databases.ms-access
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse | Find messages by this author
Same result.
What I am trying to do is capture a series of ID's. For instance" I
need to be able to group 12123 P1, 12122 N1 & 12121 T1 together. This
equals all the activity for 1 day. Each grouping of P1, N1 & T1 need
to be captured together, along with the corresponding sortid. Hope is
a better explanation.
Scott
N1 and P1. For instance, I need to be able to group SortID's 12123,
12122 & 12121. The SortID type is Number and the SortType (type) is
text. Any help would be much appreciated.
Thanks,
Scott
SortID SortType
12123 P1
12122 N1
12121 T1
12120 P1
12119 N1
12118 T1
12117 P1
12116 N1
12115 T1
12114 P1
12113 N1
12112 T1
12111 P1
12110 N1
12109 T1
12108 P1
12107 N1
12106 T1
Reply »
2 From: (e-mail address removed) - view profile
Date: Fri, Jan 12 2007 4:33 pm
Email: (e-mail address removed)
Groups: comp.databases.ms-access
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse | Find messages by this author
select sortId, sortType from tblX order by sortId Desc, sortType
- Hide quoted text -
- Show quoted text -
[email protected] said:I would like to be able to group consecutive SortID's by SortType's T1,
N1 and P1. For instance, I need to be able to group SortID's 12123,
12122 & 12121. The SortID type is Number and the SortType (type) is
text. Any help would be much appreciated.
SortID SortType
12123 P1
12122 N1
12121 T1
12120 P1
12119 N1
12118 T1
12117 P1
12116 N1
12115 T1
12114 P1
12113 N1
12112 T1
12111 P1
12110 N1
12109 T1
12108 P1
12107 N1
12106 T1
Reply » Rate this post: Text for clearing space
3 From: (e-mail address removed) - view profile
Date: Fri, Jan 12 2007 7:48 pm
Email: (e-mail address removed)
Groups: comp.databases.ms-access
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse | Find messages by this author
Same result.
What I am trying to do is capture a series of ID's. For instance" I
need to be able to group 12123 P1, 12122 N1 & 12121 T1 together. This
equals all the activity for 1 day. Each grouping of P1, N1 & T1 need
to be captured together, along with the corresponding sortid. Hope is
a better explanation.
Scott