Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group on value

Status
Not open for further replies.

Frank336

MIS
Aug 6, 2002
41
CA

Hi, im using VB6, rdc(cr8.5), access 2000

How can i get that structure (Im grouping on Code) ?

Code = A
ID 1
ID 2

Code = B
ID 3
ID 4

Code = OTHERS (all the other codes (C, D, E, ETC.) )
ID 5
ID 6
ID 7


(The list of code is not static)


Thanks,
Frank
 
Create a formula field:

If {Code}="A" then "A" else if {code}="B" then "B" else "OTHERS"

Group on this formula field. Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top