N
nylx
Unregistered / Unconfirmed
GUEST, unregistred user!
有3个关联表MOCTA, MOCTB, MOCTC ,其中TA001 = TB001 = TC001, TB002 = TC002, 表结构如下:<br>MOCTA(主表):<br>TA001 TA002 TA003<br>MC08090001 2008-9-1 0<br>MC08090002 2008-9-3 1<br>MC08090005 2008-9-5 5<br>……………………………………………<br>MOCTB(明细表):<br>TB001 TB002 TB003 TB004<br>MC08090001 1 MO08090012 1005-200-500<br>MC08090001 2 MO08090008 2008-100-413<br>MC08090005 3 MO08090025 3000-250-520<br>……………………………………………………………………………<br>MOCTC(子明细表):<br>TC001 TC002 TC003 TC004<br>MC08090001 1 100-200-300 20<br>MC08090001 1 102-205-301 50<br>MC08090001 2 216-207-601 10<br>MC08090001 3 500-200-100 80<br>…………………………………………………………………………….<br>现在需要作一个报表,格式如下,请教在FASTREPORT里如何做,谢谢!<br><br>MC08090001 2008-9-1 0<br>-------------------------------------------------------------<br>MO08090012 1005-200-500<br> 100-200-300 20<br> 102-205-301 50<br>--------------------------------------------------------------<br>MO08090008 2008-100-413<br> 216-207-601 10<br>--------------------------------------------------------------<br>MO08090025 3000-250-520 <br> 500-200-100 80<br>--------------------------------------------------------------