![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Given files like this: File Name : FILE1 Key : Task Number 001 : Technician Key 002 : Status File Name : FILE2 Key : Technician Key 001 : Name The requirement is to produce a listing like this: === Technician Status Items Joe Bloggs Closed 3 Joe Bloggs Open 2 *** 5 Adam Smith Closed 4 Adam Smith Open 1 *** 5 Total Tasks 10 === If this was on D3 I'd create dictionaries like this: File : FILE1 Key : Task 001 : A 002 : 0 003 : Task 009 : R 010 : 9 File : FILE1 Key : ItemCount 001 : S 002 : 0 003 : Items 008 : f;c1 009 : R 010 : 5 File : FILE1 Key : Tech 001 : A 002 : 1 003 : Technician]Identifier 009 : L 010 : 10 File : FILE1 Key : Tech0 001 : S 002 : 1 003 : \ 009 : L 010 : 0 File : FILE1 Key : TechName 001 : S 002 : 1 003 : Technican Name 008 : tFILE2;X;;1 009 : L 010 : 30 File : FILE1 Key : Status 001 : Status 002 : A 003 : 2 009 : L 010 : 6 Then I could do something like this (although I can't test this just now): SORT FILE1 BY TECHNAME BY TECH BY STATUS ROLL-ON TECH0 TECHNAME ROLL-ON STATUS TOTAL ITEMCOUNT ID-SUPP DET-SUPP How would you do this using UniQuery (I guess there would be fewer dictionary items needed as EVALs could be used instead)? Mike. |
#3
| |||
| |||
|
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |