|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
Inquiries seeking a complex ASP recursive function!
A total of three forms, as follows :
Table tcustomer
Cutomerid customerno customername
A 1 1001
B 2 1002
C 3 1003
4 1004 D
5 1005 E.
F 6 1006
G-7 1007
8 1008 H
Table trelate
Relateid customerid parentid levelid
1 1 0 0
2 2 1 1
3 3 2 2
4 4 3 3
5 5 4 4
6 6 5 5
7 7 6 6
8 8 7 7
A-->B-->C-->D-->E-->F-->G--H staff structure as follows :
Table tsale
Customerid amount saleid
1 1 100
2 2 100
3 3 100
4 4 100
5 5 100
6 6 100
7 7 100
8 8 100
Table is a table of these three officers, one officer in 1987, was sold a table. My question is very simple, that is :
Demand a certain level of total sales for the first N? How to write a recursive function asp? Please enlighten the classical masters!
|
Is it more difficult? |
The previously discussed, basically difficult,
Pyramid, binary : : : :
You search bar. |
|