Hello
Colud you please help me about this problem ?
I have 4 variables
- XTSM is between 0~200
- XTS is between 0~2
- XRX is 0~3
- XHAN is 0~7
- ZHTYPE is one of these : (1)TCHF_HLF (2)TCHSD (3)TCHFULL
they are related to their with this shape .
XTSM->XTS->XRX->XHAN->ZHTYPE
(Just Logical)
this means :
- Each XTSM has 3 XTS (0-2)
- Each XTS has 4 XRX (0-3)
- Each XRX has 8 XCHAN (0-7)
- and Each line has a type of ZHTYPE
I have a DB file with 14000 lines; in this file these variables specified, For example XTSM is between 0~200 but usually it's less than 200 and maybe for example specified 0~60 but it's never greater than 200; and it's true for XTS,XRX and XCHAN of course ... so we must make all variables as a dynamic ;
this is a part of file (for example UPDATED) : http://www.4shared.com/file/210566155/c080d93a/db_online.html
I want get this output ? (I want to show XTSM and XTS to output and in the backgroud must calculate all of them) please help me
----Type------------------Total---------------------Total of ZHTYPE-----------------
XTSM:0/XTS:0 in this case is : 29 TCHF_HLF:28 TCHSD:1 TCHFULL:0
XTSM:0/XTS:1 No. of found
XTSM:0/XTS:2 No. of found
XTSM:1/XTS:0 No. of found
XTSM:1/XTS:1 No. of found
XTSM:1/XTS:2 No. of found
I don't know but i think it's maybe this ; No ? It's just pseudo code :
for(i ; i< (Total of XTSM) ; i++){
for(j ; j< (Total of XTS) ; j++){
for(k ; k< (Total of XRX) ; k++){
for(l ; l< (Total of XCHAN) ; l++)
Print( Total of XTSM:x/XTS:y);
}
}
}
Thanks for your help ...