Download ActiveReports 7 User Guide
Transcript
ActiveReports 7 User Guide
668
return eof;
}
public void ActiveReport_ReportEnd()
{
//Close the data reader and connection
m_reader.Close();
m_cnn.Close();
}
To
save
the
report
to
an
XML-based
RPX
file
1.
From
the
Report
menu,
select
Save
Layout.
2.
In
the
Save
dialog
that
appears,
enter
a
name
for
the
report,
i.e.
rptScript.rpx,
and
click
the
Save
button.
To
view
the
report
Click
the
preview
tab
to
view
the
report
at
design
time.
OR
Open
the
report
in
the
Viewer.
See
Using
the
Viewer
for
further
information.
Script for Subreports
ActiveReports
Developer
allows
you
to
use
scripting
to
permit
reports
saved
to
an
XML
file
to
contain
code.
By
including
scripting
when
reports
are
saved
into
XML,
the
reports
later
can
be
loaded,
run,
and
displayed
directly
to
the
viewer
control
without
needing
to
use
the
designer.
This
walkthrough
illustrates
how
to
use
scripting
when
creating
a
subreport.
This
walkthrough
is
split
up
into
the
following
activities:
Temporarily
connecting
the
main
report
to
a
data
source
Connecting
the
subreport
to
a
data
source
Adding
controls
to
each
report
to
display
data
Adding
the
scripting
code
for
rptMain
Viewing
the
report
Tip:
For
basic
steps
like
adding
a
report
to
a
Visual
Studio
project
and
viewing
a
report,
please
see
the
Basic
Data
Bound
Reports
walkthrough.
Note:
This
walkthrough
uses
the
Northwind
database.
By
default,
in
ActiveReports,
the
Northwind.mdb
file
is
located
at
[User
Documents
folder]\ComponentOne
Samples\ActiveReports
Developer
7\Data\NWIND.mdb.
When
you
have
finished
this
walkthrough,
you
will
have
a
report
that
looks
similar
to
the
following
at
design
time
and
at
runtime.
Design
Time
Layout
(main
report)
Runtime
Layout
(main
report)
©2013 ComponentOne, a division of GrapeCity. All Rights Reserved.
Related documents
HP Reliable Transaction Router User's Manual
Medion Car Audio Instruction manual
Compaq Reliable Transaction Router User's Manual
ActiveReports 6 User Guide
User's Guide of the Unique Registration Facility (URF) and
CMSi Admin Manual - Conservation Management System
Quick Reference Guide
Contract Management Tracking Software
CuteReport User Manual - The UK Mirror Service
DWO-Manager
取扱説明書
取扱説明書