If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > How to group when no field to group on?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-09, 13:56
den@t den@t is offline
Registered User
 
Join Date: Nov 2009
Posts: 1
How to group when no field to group on?

HI all,

i have an issue regarding a grouping in CR10.

Let say that there is an inventory of items. each item is being identified by a starting number (ex: 100xxxx, 200xxxx, 300xxxx), followed by 4 (xxxx) other unique numbers (So you can heave more than 1 item which starts with 100).

How can a grouping be made, where all items starting with 100 are in a group, followed by items starting with 200 etc....

Any help is welcome..

thnx in advance
Reply With Quote
  #2 (permalink)  
Old 11-21-09, 09:30
darylmark darylmark is offline
Registered User
 
Join Date: Nov 2009
Posts: 9
Lightbulb Creating Your Own Grouping Criteria

Greetings den@t,

What you can do is create a formula which returns the left most three characters (Using LEFT string function) of the inventory ID. You can then create a group based on the formula and then sort the inventory IDs within that group.

Hope that helps.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On