943,871 Members | Top Members by Rank

Ad:
Sep 13th, 2005
1

Crystal REport 9.0

Expand Post »
I'm having this issue on how to sort reports based on part numbers i have part numbers that i return have either a part number as in 1000 or if there have been multiple part number could be 1001-2 mean that there were 2 revised copies of the part number.

What i want to return is either the part nubmer itself 1000 or the highest number of that part number say 1001-2 and filter out the 1001 or 1001-1

Example data:
part numbers - 1000,1001,1001-1,1001-2


What i want to return is the 1000 and the 1001-2 and filter out the 1001 and 1001-1

Any ideas?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cmdolcet69 is offline Offline
2 posts
since Sep 2005
Sep 13th, 2005
0

Re: Crystal REport 9.0

Create a new colum for the revisions part numbers. I would also add a last modified date colum as well. Then the sql query will allow use to differentiate the two types of numbers.

Or you could append a -0 to all of the part numbers with no revisions.

Either way you go you need each colum to have the same type of information.


|PartNumber | PartRevision | RevisionDate
-----------------------------------------
|1000 |2 |09/19/2005
-----------------------------------------
|1001 |1 |08/14/2005
Reputation Points: 20
Solved Threads: 5
Junior Poster
jwshepherd is offline Offline
123 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Text Width
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Text Box Newbie help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC