d b M e m o   " S Q L "   = " S E L E C T   q $8;LB@0F8O_ >B5@8. [ 5@8>4] ,   q $8;LB@0F8O_ >B5@8. [ >4] ,   q $8;LB@0F8O_ >B5@8" 
 
         " . [ 5AOF] ,   q $8;LB@0F8O_ >B5@8. [ !>@B] ,   q $8;LB@0F8O_ >B5@8. [ ><5@  1@>65=8O] ,   q $8;LB" 
 
         " @0F8O_ >B5@8. [ ><5@0  20@>:] ,   S u m ( N z ( q $8;LB@0F8O_ >B5@8. [ 1J5<  87  &"( ;) ] , 0 ) )   A S   " 
 
         " [ A53>  87  &"( ;) ] ,   S u m ( N z ( q $8;LB@0F8O_ >B5@8. [ 1J5<  2  D>@D0A( ;) ] , 0 ) )   A S   [ A53>  2" 
 
         "   D>@D0A( ;) ] ,   S u m ( N z ( q $8;LB@0F8O_ >B5@8. [ >B5@8( ;) ] , 0 ) )   A S   [ A53>  ?>B5@8( ;) ] ,   I I f " 
 
         " ( S u m ( N z ( q $8;LB@0F8O_ >B5@8. [ 1J5<  87  &"( ;) ] , 0 ) ) = 0 , N u l l , R o u n d ( S u m ( N z ( q $8;LB@0F8O" 
 
         " _ >B5@8. [ >B5@8( ;) ] , 0 ) ) / S u m ( N z ( q $8;LB@0F8O_ >B5@8. [ 1J5<  87  &"( ;) ] , 0 ) ) * 1 0 0 , 2 ) )   " 
 
         " A S   [ >B5@8( % ) ] ,   C o u n t ( q $8;LB@0F8O_ >B5@8. [ >4  42865=8O] )   A S   [ >;8G5AB2>  >?5@0F89" 
 
         " ] ,   M i n ( q $8;LB@0F8O_ >B5@8. [ 0B0  D8;LB@0F88] )   A S   [ 5@20O  D8;LB@0F8O] ,   M a x ( q $8;LB@" 
 
         " 0F8O_ >B5@8. [ 0B0  D8;LB@0F88] )   A S   [ >A;54=OO  D8;LB@0F8O] \ 0 1 5 \ 0 1 2 F R O M   q $8;LB@0F8O" 
 
         " _ >B5@8\ 0 1 5 \ 0 1 2 G R O U P   B Y   q $8;LB@0F8O_ >B5@8. [ 5@8>4] ,   q $8;LB@0F8O_ >B5@8. [ >4] ,   q " 
 
         " $8;LB@0F8O_ >B5@8. [ 5AOF] ,   q $8;LB@0F8O_ >B5@8. [ !>@B] ,   q $8;LB@0F8O_ >B5@8. [ ><5@  " 
 
         " 1@>65=8O] ,   q $8;LB@0F8O_ >B5@8. [ ><5@0  20@>:] \ 0 1 5 \ 0 1 2 O R D E R   B Y   q $8;LB@0F8O_ >B5@8. " 
 
         " [ >4]   D E S C   ,   q $8;LB@0F8O_ >B5@8. [ 5AOF]   D E S C   ,   q $8;LB@0F8O_ >B5@8. [ !>@B] ,   q $8;LB" 
 
         " @0F8O_ >B5@8. [ ><5@  1@>65=8O] ; \ 0 1 5 \ 0 1 2 " 
 
 d b M e m o   " C o n n e c t "   = " " 
 
 d b B o o l e a n   " R e t u r n s R e c o r d s "   = " - 1 " 
 
 d b I n t e g e r   " O D B C T i m e o u t "   = " 6 0 " 
 
 d b B o o l e a n   " O r d e r B y O n "   = " 0 " 
 
 d b B y t e   " O r i e n t a t i o n "   = " 0 " 
 
 d b B y t e   " D e f a u l t V i e w "   = " 2 " 
 
 d b B i n a r y   " G U I D "   =   B e g i n 
 
         0 x 5 0 7 d 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e 7 0 4 8 
 
 E n d 
 
 d b B o o l e a n   " F i l t e r O n L o a d "   = " 0 " 
 
 d b B o o l e a n   " O r d e r B y O n L o a d "   = " - 1 " 
 
 d b L o n g B i n a r y   " D O L "   =   B e g i n 
 
         0 x 0 a c c 0 e 5 5 0 0 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5 0 0 0 0 0 0 0 0 9 1 a f a 1 d 2   , 
 
         0 x 1 a 8 b e 6 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 1 0 0 2 4 0 4 3 8 0 4 3 b 0 4 4 c 0 4 4 2 0 4 4 0 0 4 3 0 0 4 4 6 0 4 3 8 0 4   , 
 
         0 x 4 f 0 4 5 f 0 0 1 f 0 4 3 e 0 4 4 2 0 4 3 5 0 4 4 0 0 4 3 8 0 4 0 0 0 0 0 0 0 0 0 0 0 0 1 2 6 9 b f e d 3 1 2 4 b e 4 4 a 6 c d   , 
 
         0 x 6 c 8 1 8 e a 6 e d b b 0 7 0 0 0 0 0 0 5 0 7 d 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e 7 0 4 8 1 2 0 4 4 1 0 4 3 5 0 4   , 
 
         0 x 3 3 0 4 3 e 0 4 2 0 0 0 3 8 0 4 3 7 0 4 2 0 0 0 2 6 0 4 1 a 0 4 2 2 0 4 2 8 0 0 3 b 0 4 2 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 5 1 3   , 
 
         0 x e 8 6 3 8 b 2 2 f 7 4 3 8 8 9 f a 7 1 2 7 f 4 f d b 1 a 0 7 0 0 0 0 0 0 5 0 7 d 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e   , 
 
         0 x 7 0 4 8 1 2 0 4 4 1 0 4 3 5 0 4 3 3 0 4 3 e 0 4 2 0 0 0 3 2 0 4 2 0 0 0 4 4 0 4 3 e 0 4 4 0 0 4 4 4 0 4 3 0 0 4 4 1 0 4 2 8 0 0   , 
 
         0 x 3 b 0 4 2 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b a 7 2 e 7 2 c 2 3 6 7 c 8 4 0 a 8 3 6 f 7 9 5 a b 0 b a 3 1 1 0 7 0 0 0 0 0 0 5 0 7 d   , 
 
         0 x 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e 7 0 4 8 1 2 0 4 4 1 0 4 3 5 0 4 3 3 0 4 3 e 0 4 2 0 0 0 3 f 0 4 3 e 0 4 4 2 0 4   , 
 
         0 x 3 5 0 4 4 0 0 4 3 8 0 4 2 8 0 0 3 b 0 4 2 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 d 6 c 6 c 5 8 c e 6 b 9 f 4 4 6 9 1 c d 9 c 8 3 e 9 f f   , 
 
         0 x a 7 1 f 0 7 0 0 0 0 0 0 5 0 7 d 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e 7 0 4 8 1 f 0 4 3 e 0 4 4 2 0 4 3 5 0 4 4 0 0 4   , 
 
         0 x 3 8 0 4 2 8 0 0 2 5 0 0 2 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 a f 6 2 2 6 0 5 6 6 b a 0 4 b 9 0 6 d 7 9 7 f b a 3 1 5 3 0 2 0 7 0 0   , 
 
         0 x 0 0 0 0 5 0 7 d 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e 7 0 4 8 1 a 0 4 3 e 0 4 3 b 0 4 3 8 0 4 4 7 0 4 3 5 0 4 4 1 0 4   , 
 
         0 x 4 2 0 4 3 2 0 4 3 e 0 4 2 0 0 0 3 e 0 4 3 f 0 4 3 5 0 4 4 0 0 4 3 0 0 4 4 6 0 4 3 8 0 4 3 9 0 4 0 0 0 0 0 0 0 0 0 0 0 0 8 3 f e   , 
 
         0 x 1 b 9 3 6 d 8 3 e 5 4 1 9 a 1 0 e 2 e 2 e a b f f 1 8 4 0 7 0 0 0 0 0 0 5 0 7 d 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e   , 
 
         0 x 7 0 4 8 1 f 0 4 3 5 0 4 4 0 0 4 3 2 0 4 3 0 0 4 4 f 0 4 2 0 0 0 4 4 0 4 3 8 0 4 3 b 0 4 4 c 0 4 4 2 0 4 4 0 0 4 3 0 0 4 4 6 0 4   , 
 
         0 x 3 8 0 4 4 f 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 e b e d e f 4 3 3 1 0 f 7 4 5 9 5 c 3 e 0 c 7 b 7 b f c 0 6 6 0 7 0 0 0 0 0 0 5 0 7 d   , 
 
         0 x 8 b a 4 c e 5 1 4 e 4 e 9 c 5 3 0 f c b c 0 0 e 7 0 4 8 1 f 0 4 3 e 0 4 4 1 0 4 3 b 0 4 3 5 0 4 3 4 0 4 3 d 0 4 4 f 0 4 4 f 0 4   , 
 
         0 x 2 0 0 0 4 4 0 4 3 8 0 4 3 b 0 4 4 c 0 4 4 2 0 4 4 0 0 4 3 0 0 4 4 6 0 4 3 8 0 4 4 f 0 4 0 0 0 0 0 0 0 0 0 0 0 0 c 2 0 d d c d 6   , 
 
         0 x e 7 0 d a 3 4 4 8 3 9 4 e e 6 c b 4 0 5 8 9 d 6 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5   , 
 
         0 x 1 f 0 4 3 5 0 4 4 0 0 4 3 8 0 4 3 e 0 4 3 4 0 4 0 0 0 0 0 0 0 0 0 0 0 0 f 1 6 7 5 4 4 1 7 1 e 8 d d 4 9 8 6 a 4 a 3 c 3 7 6 9 7   , 
 
         0 x b 7 5 9 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5 1 3 0 4 3 e 0 4 3 4 0 4 0 0 0 0 0 0 0 0   , 
 
         0 x 0 0 0 0 c f f 1 3 9 1 c d 9 0 1 6 2 4 a a 1 7 8 9 d 6 3 9 0 b a 9 2 f 9 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d   , 
 
         0 x 8 a b f 7 1 3 8 a a f 5 1 c 0 4 3 5 0 4 4 1 0 4 4 f 0 4 4 6 0 4 0 0 0 0 0 0 0 0 0 0 0 0 6 8 a e 1 a a e 2 8 0 f 8 a 4 1 9 a 8 f   , 
 
         0 x 1 f 0 3 e a 4 c 9 3 c 8 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5 2 1 0 4 3 e 0 4 4 0 0 4   , 
 
         0 x 4 2 0 4 0 0 0 0 0 0 0 0 0 0 0 0 9 8 6 4 e 5 4 f 5 8 c d 1 c 4 1 b d 7 f f 5 8 9 d d 0 7 e 3 8 6 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1   , 
 
         0 x 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5 1 d 0 4 3 e 0 4 3 c 0 4 3 5 0 4 4 0 0 4 2 0 0 0 3 1 0 4 4 0 0 4 3 e 0 4 3 6 0 4   , 
 
         0 x 3 5 0 4 3 d 0 4 3 8 0 4 4 f 0 4 0 0 0 0 0 0 0 0 0 0 0 0 6 9 6 f 0 c 5 f 7 1 8 6 f 8 4 1 8 4 0 c 4 d e 5 7 a 6 2 4 5 3 2 0 7 0 0   , 
 
         0 x 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5 1 d 0 4 3 e 0 4 3 c 0 4 3 5 0 4 4 0 0 4 3 0 0 4 2 0 0 0   , 
 
         0 x 3 2 0 4 3 0 0 4 4 0 0 4 3 e 0 4 3 a 0 4 0 0 0 0 0 0 0 0 0 0 0 0 c 9 0 a f c d 1 4 f b 0 e 9 4 a 9 b 6 0 b 9 e e 4 c 9 2 6 3 0 8   , 
 
         0 x 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5 1 e 0 4 3 1 0 4 4 a 0 4 3 5 0 4 3 c 0 4 2 0 0 0   , 
 
         0 x 3 8 0 4 3 7 0 4 2 0 0 0 2 6 0 4 1 a 0 4 2 2 0 4 2 8 0 0 3 b 0 4 2 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 d e e 2 0 6 d d 3 7 5 f 7 4 e   , 
 
         0 x 8 9 4 c 6 b 3 9 c c 2 0 f 0 e 3 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f 7 1 3 8 a a f 5 1 e 0 4 3 1 0 4   , 
 
         0 x 4 a 0 4 3 5 0 4 3 c 0 4 2 0 0 0 3 2 0 4 2 0 0 0 4 4 0 4 3 e 0 4 4 0 0 4 4 4 0 4 3 0 0 4 4 1 0 4 2 8 0 0 3 b 0 4 2 9 0 0 0 0 0 0   , 
 
         0 x 0 0 0 0 0 0 0 0 3 7 7 7 2 b d d 3 7 d d a 1 4 8 b 0 a 2 d 5 2 f 2 8 4 1 0 3 8 1 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9   , 
 
         0 x 8 0 c d 8 a b f 7 1 3 8 a a f 5 1 f 0 4 3 e 0 4 4 2 0 4 3 5 0 4 4 0 0 4 3 8 0 4 2 8 0 0 3 b 0 4 2 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0   , 
 
         0 x 9 f 4 9 f b 8 2 7 f 2 2 c 8 4 5 8 4 9 a 2 0 1 2 a 4 6 5 1 6 7 d 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d 8 a b f   , 
 
         0 x 7 1 3 8 a a f 5 1 a 0 4 3 e 0 4 3 4 0 4 2 0 0 0 3 4 0 4 3 2 0 4 3 8 0 4 3 6 0 4 3 5 0 4 3 d 0 4 3 8 0 4 4 f 0 4 0 0 0 0 0 0 0 0   , 
 
         0 x 0 0 0 0 2 0 e e e c 1 8 7 f 5 e f a 4 c b 0 2 c 7 f c 2 4 f b 9 b 2 4 2 0 7 0 0 0 0 0 0 f 2 6 d 1 3 2 1 5 8 4 6 c 6 4 9 8 0 c d   , 
 
         0 x 8 a b f 7 1 3 8 a a f 5 1 4 0 4 3 0 0 4 4 2 0 4 3 0 0 4 2 0 0 0 4 4 0 4 3 8 0 4 3 b 0 4 4 c 0 4 4 2 0 4 4 0 0 4 3 0 0 4 4 6 0 4   , 
 
         0 x 3 8 0 4 3 8 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 c 0 0 0 0 0 0 0 5 0 0   , 
 
         0 x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
 
 E n d 
 
 d b B y t e   " P u b l i s h T o W e b "   = " 1 " 
 
 B e g i n 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " A53>  87  &"( ;) " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
                 d b B i n a r y   " G U I D "   =   B e g i n 
 
                         0 x 1 2 6 9 b f e d 3 1 2 4 b e 4 4 a 6 c d 6 c 8 1 8 e a 6 e d b b 
 
                 E n d 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " A53>  2  D>@D0A( ;) " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
                 d b B i n a r y   " G U I D "   =   B e g i n 
 
                         0 x 5 5 1 3 e 8 6 3 8 b 2 2 f 7 4 3 8 8 9 f a 7 1 2 7 f 4 f d b 1 a 
 
                 E n d 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " A53>  ?>B5@8( ;) " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
                 d b B i n a r y   " G U I D "   =   B e g i n 
 
                         0 x b a 7 2 e 7 2 c 2 3 6 7 c 8 4 0 a 8 3 6 f 7 9 5 a b 0 b a 3 1 1 
 
                 E n d 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " >B5@8( % ) " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
                 d b B i n a r y   " G U I D "   =   B e g i n 
 
                         0 x d 6 c 6 c 5 8 c e 6 b 9 f 4 4 6 9 1 c d 9 c 8 3 e 9 f f a 7 1 f 
 
                 E n d 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " >;8G5AB2>  >?5@0F89" 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
                 d b B i n a r y   " G U I D "   =   B e g i n 
 
                         0 x 4 a f 6 2 2 6 0 5 6 6 b a 0 4 b 9 0 6 d 7 9 7 f b a 3 1 5 3 0 2 
 
                 E n d 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " 5@20O  D8;LB@0F8O" 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
                 d b B i n a r y   " G U I D "   =   B e g i n 
 
                         0 x 8 3 f e 1 b 9 3 6 d 8 3 e 5 4 1 9 a 1 0 e 2 e 2 e a b f f 1 8 4 
 
                 E n d 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " >A;54=OO  D8;LB@0F8O" 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
                 d b B i n a r y   " G U I D "   =   B e g i n 
 
                         0 x 0 e b e d e f 4 3 3 1 0 f 7 4 5 9 5 c 3 e 0 c 7 b 7 b f c 0 6 6 
 
                 E n d 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " q $8;LB@0F8O_ >B5@8. [ 5@8>4] " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " q $8;LB@0F8O_ >B5@8. [ >4] " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " q $8;LB@0F8O_ >B5@8. [ 5AOF] " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " q $8;LB@0F8O_ >B5@8. [ !>@B] " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " q $8;LB@0F8O_ >B5@8. [ ><5@  1@>65=8O] " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
         E n d 
 
         B e g i n 
 
                 d b T e x t   " N a m e "   = " q $8;LB@0F8O_ >B5@8. [ ><5@0  20@>:] " 
 
                 d b L o n g   " A g g r e g a t e T y p e "   = " - 1 " 
 
         E n d 
 
 E n d 
 
 