我發給你這個報表程序。
技術支持QQ:136293586
<HTML>
<OBJECT
classid="clsid:7748DB97-DE70-454A-890A-4433A7D1F544"
codebase="./bbscom2Proj1.ocx#version=1,0,0,0"
width=100%
height=100%
align=center
hspace=0
vspace=0>
<param name="Conn"
value="Provider=SQLOLEDB.1;Password=;Persist Security Info=True;User ID=sa;Initial Catalog=books;Data Source=127.0.0.1">
<param name="MainTable"
value="TABLE1">
<param name="ClassTable"
value="TABLE2">
<param name="ReportFile"
value="D:/Report.frf">
</OBJECT>
</HTML>