Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
81
Добавлен:
11.05.2015
Размер:
2.11 Mб
Скачать

Technical Support

Further help with Technical problems (including installation, implementation, and distribution of the VCL) can be obtained in the following ways:

Phone: (604) 669-8379 Monday to Friday, 8:00am to 5:00pm, PST

Email: support@webacd.seagatesoftware.com

Web Email Form: http://webacd.seagatesoftware.com

Fax: (604) 681-7163

The latest updates to the VCL can be obtained from:

Web site: http://www.seagatesoftware.com/crystalreports/updates/

FTP site: ftp://ftp.img.seagatesoftware.com/pub/crystal/delphi/

Seagate Crystal Visual Component Library

227

I N D E X

A

Access, Microsoft

 

 

see Microsoft Access

 

 

Active Data Driver ..........

118,

125

using .....................................

 

119

working with .......................

 

118

Active Server Pages

 

 

editing ....................................

 

47

session timeout .....................

 

48

ActiveX

 

 

Crystal Data Object

 

 

CDO) ..................................

 

128

Crystal Smart Viewer ...........

 

57

ActiveX Control .........................

 

108

adding to project ................

 

108

changing properties ...........

 

110

changing properties

 

 

at runtime ..........................

 

110

using .....................................

 

109

ActiveX Data Sources ...............

 

118

using at design time ...........

 

126

ActiveX, Design-time

 

 

Control .....................................

 

44

administration

 

 

Crystal Web Report

 

 

erver .....................................

 

16

ADO data sources .....................

 

118

API

 

 

Report Engine .......................

 

68

Application Object

 

 

and Report Designer

 

 

Component .......................

 

187

creating in VB .....................

 

112

applications

 

 

Report Engine .....................

 

102

AuthentiCode, see Microsoft

 

Authenticode

 

 

Automation Server .............

44,

111

adding to VB project .........

 

111

distributing in VB

 

 

applications .......................

 

117

error handling in VB ..........

 

114

handling preview window

 

events in VB ......................

 

115

object name conflicts

 

 

in VB ..................................

 

114

sample application

 

 

in VB ..................................

 

117

session timeout .....................

 

48

using in VB ..........................

 

112

C

C++ Builder 3

 

code samples with VCL

 

Component .......................

225

code syntax with VCL

 

 

Crystal Smart Viewer

 

 

Component .......................

 

224

ActiveX ..................................

 

57

installation ..........................

 

198

ActiveX parameters ..............

 

59

using VCL Component ......

 

224

customizing ...........................

 

47

changing

 

 

HTML .....................................

 

53

selection formulas in web

 

Java .........................................

 

55

reports ..................................

 

30

Java parameters ....................

 

55

codes

 

 

overview ................................

 

50

section, see section

 

 

printing from .........................

 

51

codes ...................................

 

84

Crystal Web Report Server

 

 

commands

 

 

administration .......................

 

16

GF ..........................................

 

31

architecture ...........................

 

37

INIT ........................................

 

30

choosing version ....................

 

8

Password# .............................

 

32

Command Expert ..................

 

29

Prompt# command .......

35, 36

commands .............................

 

28

SF ...........................................

 

31

Image Server .................

26,

39

USER# ...................................

 

33

implementing ..........................

 

8

Controls

 

 

installing ..................................

 

9

ActiveX ................................

 

108

Job Manager ..........................

 

41

Grid ......................................

 

139

overview ..................................

 

2

Create Report Expert

 

 

Page Server ....................

26,

39

database definition

 

 

system requirements ..............

 

9

tool .....................................

 

124

virtual directories .................

 

14

creating

 

 

customizing the Crystal Smart

 

formatted bound reports ...

142

Viewer .....................................

 

47

CrossTabObject .........................

 

186

custom-print links

 

 

Crystal ActiveX Control ............

 

108

coding ....................................

 

75

Crystal Data Object

 

 

establishing ...........................

 

74

using ....................................

 

129

sample of ...............................

 

78

Crystal Data Object (CDO)

.....

128

D

 

 

Crystal Data Object Model

.....

131

 

 

Crystal Data Source Type

 

131

DAO data sources .....................

118

Library ...................................

 

Data

 

 

Crystal Data Sources ................

 

139

Selecting with Report Designer

Crystal DataSouce object

 

 

Component ........................

153

passing to Active Data

 

 

data

 

 

Driver

 

137

 

 

 

and VCL Component .........

210

Crystal Report Engine

 

 

drilling down on ...................

 

27

distributing

 

102

refreshing web report ..........

 

37

applications ......................

 

saved, and VCL

 

 

introduction ..........................

 

64

Component ........................

210

structures ...............................

 

92

Data Definition Files .................

119

using ......................................

 

66

and Report Designer

 

 

variable length strings .........

 

89

Component ........................

164

when to open and

 

104

creating ................................

123

close ...................................

 

database

 

 

Crystal Report Engine API ..........

 

68

definition tool .....................

124

using ......................................

 

70

Database object .........................

186

using in Visual Basic .........

 

104

databases

 

 

Crystal Report Engine Automation

 

 

changing group and summary

Server .............................

44,

111

fields with VCL

 

 

Crystal Report Engine Object

 

Component ........................

211

Library

 

 

changing tables and formulas

viewing

 

115

 

with VCL Component ......

211

 

 

 

 

 

 

Index-1

connecting with the VCL

 

Component .......................

210

ODBC ....................................

31

secured ..................................

31

SQL ........................................

31

DatabaseTable object ...............

186

Delphi

 

installation, Delphi 2 VCL

 

Component .......................

194

installation, Delphi 3 VCL

 

Component .......................

195

installation, Delphi 4 VCL

 

Component .......................

195

Design-time ActiveX Control .....

44

developers

 

session timeout in Automation

Server ...................................

48

what you should know ........

65

development

 

Report Engine API ................

68

directories

 

Crystal Web Report

 

Server ...................................

14

distributing Report Engine

 

applications ..........................

102

DLL

 

VB Wrapper ........................

107

drilling down on data .................

27

Drivers

 

Active Data .........................

125

database (ADO, DAO, and

 

RDO) ..................................

118

using Active Data ...............

119

E

 

editing

 

Active Server Pages .............

47

errors, preview window

 

handling ................................

97

establishing

 

custom-print links ................

74

print-only links .....................

71

Events

 

Format, and Report Designer

Component .......................

179

Preview window events in

 

Automation Server ...........

115

Report, and Report Designer

Component .......................

188

existing reports

 

selecting ................................

45

Expert

 

Crystal Web Server

 

Command ............................

29

Report, and Report Designer

Component .......................

154

export functions

 

considerations for

 

using ....................................

97

exporting

 

reports ...................................

94

F

 

FieldObject object ....................

184

Files

 

Data Definition ..................

119

Data Definition, and Report

Designer Component ......

164

Data Definition,

 

creating ..............................

123

DLL, see DLL

 

formatted bound reports

 

creating ...............................

142

Formulas

 

Delphi, examples with

 

variables ............................

216

Delphi, using variables .....

215

G

 

GF command ...............................

31

Grid Controls .............................

139

group selection formulas

 

GF command .......................

31

H

 

handling preview window

 

errors .......................................

97

Help

 

Context-sensitive, Delphi 3

 

VCL Component ..............

197

Context-sensitive, Delphi 4

 

VCL Component ..............

197

HTML

 

Crystal Smart Viewer ...........

53

HTML reports

 

limitations of .........................

53

I

 

Image Server

 

Crystal Web Report

 

Server ...................................

39

Images

 

Report Designer Component

and OLE object ................

182

using with Report Designer

 

Component .......................

149

INIT command ............................

30

installation

 

C++ Builder 3 VCL

 

Component ........................

198

Crystal Web Report

 

Server .....................................

9

Delphi 2 VCL

 

Component ........................

194

Delphi 3 VCL

 

Component ........................

195

Delphi 4 VCL

 

Component ........................

195

Report Designer

 

Component ........................

151

VCL Component .................

194

J

 

Java

 

Crystal Smart Viewer ...........

55

L

 

Libraries

 

Crystal Data Source

 

Type ....................................

131

Crystal Report Engine

 

Object ................................

115

limitations of HTML reports .......

53

links

 

coding custom-print .............

75

establishing custom-print ....

74

establishing print-only .........

71

logging on

 

Password# command ..........

32

USER# command .................

33

M

 

methods

 

Retrieve, and VCL

 

Component ........................

205

Send, and VCL

 

Component .........................

211

StrToSectionCode, and VCL

Component ........................

223

Microsoft

 

Access, and Report Designer

Component ........................

189

AuthentiCode ........................

58

O

 

Object Inspector

 

VCL Component .................

200

Objects

 

Application and Report

 

Designer Component .......

187

Application, see Application

Object ................................

112

Index-2

Index-3

CrossTabObject, and Report

 

Crystal Smart Viewer for

 

 

 

Designer Component ......

 

186

 

ActiveX ................................

59

Crystal Data ........................

 

128

 

GF command .......................

31

Crystal Data Object

 

 

 

ranges ....................................

83

Model .................................

 

131

 

values ....................................

83

Database, and Report Designer

 

Password# command .................

32

Component .......................

 

186

 

passwords

 

DatabaseTables, and Report

 

Password# command ..........

32

Designer Component ......

 

186

 

Pictures

 

FieldObject, and Report

 

 

 

see Images

 

Designer Component ......

 

184

 

preview window errors

 

Object Inspector, VCL

 

 

 

handling ................................

97

Component .......................

 

200

 

printing

 

passing CRDataSource object

 

from the Crystal Smart

 

to Active Data Driver ......

 

137

 

Viewers ................................

51

releasing in VB ...................

 

114

 

print-only link

 

Report, see Report Object

 

 

establishing ...........................

71

ReportObjects collection, and

 

example code for .................

73

Report Designer

 

 

 

problems

 

Component .......................

 

183

 

Delphi VCL

 

Rowset, see Rowset Object

 

 

Component .......................

226

SubClass, and VCL

 

 

 

Delphi, DialogParent and

 

Component .......................

 

203

 

Temporary Forms .............

226

SubreportObject, and Report

 

Delphi, retrieving ParamFields

Designer Component ......

 

185

 

from Subreport .................

226

Text, and Report Designer

 

 

procedures

 

Component .......................

 

180

 

SQL stored, see SQL

 

OCX

 

 

 

Programmatic ID

 

adding to project ................

 

108

 

and Report Designer

 

changing properties ...........

 

110

 

Component .......................

189

using .....................................

 

109

 

programming

 

ODBC databases .........................

 

31

 

Delphi, introduction to the

 

OLE control

 

 

 

Print Engine ......................

201

adding to project ................

 

108

 

Report Designer Component

changing properties ...........

 

110

 

Object Model ...................

173

changing properties

 

 

 

Report Engine API ................

68

at runtime ..........................

 

110

 

subreports and VCL

 

using .....................................

 

109

 

Component .......................

206

opening

 

 

 

VCL Component and Crystal

Crystal Report Engine ........

 

104

 

Reports Designer ..............

202

overview

 

 

 

VCL Component and Sub-Class

Crystal Smart Viewer ...........

 

50

 

Objects ..............................

203

Crystal Web Report Server

... 2

 

VCL Component tips .........

209

P

 

 

 

VCL Component, and Retrieve

 

 

 

method ..............................

205

Page Server

 

 

 

VCL Component, changing

200

Crystal Web Report

 

 

 

properties at runtime .......

Server ...................................

 

39

 

VCL Component, changing

 

pages

 

 

 

properties with Object

 

 

 

 

Inspector

200

editing Active Server ...........

 

47

 

parameter fields

 

 

 

VCL Component, Consistent

Prompt# command ......

35, 36

 

Code ..................................

204

parameters

 

 

 

VCL Component, Delphi

 

 

 

 

overview

199

Crystal Smart View

 

 

 

 

 

 

VCL Component,

 

for Java .................................

 

55

 

208

 

 

 

 

guidelines ..........................

 

 

 

 

 

 

VCL Component, Object

Inspector ............................

200

Prompt# command ..............

35, 36

properties

 

JobNumber, and VCL

 

Component ........................

212

ReportName, and VCL

 

Component ........................

209

R

RDO data sources .....................

 

118

REAPI .............................................

 

68

structures ...............................

 

92

variable length strings

..........

89

refreshing

 

 

web report data ....................

 

37

Report Designer Component ...

145

adding RDC to a

 

 

roject ..................................

 

152

adding Smart Viewer .........

 

155

and ActiveX .........................

 

146

and ADO .............................

 

158

and Application object ......

187

and CrossTabObject

 

 

object .................................

 

186

and CRViewer1 ..................

 

156

and CrystalReport1 ............

 

156

and DAO .............................

 

158

and Data Definition

 

 

Files ....................................

 

158

and data sources ......

158,

176

and Database object ..........

 

186

and DatabaseTable

 

 

object .................................

 

186

and FieldObject Object ....

184

and Microsoft Access

 

 

sessions ..............................

 

189

and ODBC ...........................

 

158

and OLEDB .........................

 

158

and PC data sources ..........

 

158

and Programmatic ID

........

189

and RDO .............................

 

158

and Report Events ..............

 

188

and Report Packages .........

 

158

and Report Templates

........

158

and ReportObjects

 

 

collection ...........................

 

183

and Seagate Crystal

 

 

Reports ...............................

 

147

and secure data sources ....

179

and Smart Viewer

 

 

Control ...............................

 

156

and SQL data sources

........

158

and SubreportObject

 

 

object .................................

 

185

................and Text Objects

180

.........................using in VB

113

...........................customizing

47

and the Format Event .........

179

Report Packages

 

HTML .....................................

53

and VB Data

 

and Report Designer

 

Java .........................................

55

Environment ......................

158

Component .......................

158

printing from .........................

51

and Visual Basic .................

150

ReportObjects collection .........

183

see also Crystal Smart Viewer

Architecture ........................

170

reports

 

SQL

 

Conditional Formatting .....

148

creating formatted

 

connection to databases with

Copy and Paste ...................

148

bound ................................

142

VCL Component ...............

210

data access ..........................

148

distributing with Report

 

databases, and Web Reports

Display code .......................

157

Designer Component ......

190

Server ...................................

31

distributing reports .............

190

establishing custom-print

 

stored procedures, and Web

distribution of the

 

link .......................................

74

Reports Server .....................

34

Application ........................

151

exporting ...............................

94

stored procedures, SQL

 

existing report as report

 

exporting in Report Designer

see SQL

 

template .............................

167

Component .......................

187

structures

 

exporting reports ................

187

limitations of HTML ............

53

Report Engine API ................

92

features ................................

146

selecting existing .................

45

SubClass Objects

 

guidelines ............................

149

using existing as template in

and VCL

 

Images ..................................

149

Report Designer

 

Component ........................

203

images, OLE object ............

182

Component .........................

167

SubreportObject, and Report

 

installation ...........................

151

Rowset Object

 

Designer Component ..........

185

introduction ........................

146

adding fields .......................

130

subreports

 

Object Model

 

S

 

and the VCL Component ..

206

programming ....................

173

 

using with Report Designer

 

passing fields ......................

177

sample web site ...........................

48

Component ........................

149

Pictures, see Images

149

section codes

 

working with .........................

93

Preview Window ...............

and Report Designer

 

system requirements

 

Report Expert ......................

154

Component .......................

182

Crystal Web Report Server ....

9

running the application .....

155

and VCL Component ........

221

Report Designer

 

section codes ......................

182

decoding ...............................

86

Component .........................

151

selecting data for

153

working with ........................

84

T

 

a report ..............................

Section Map .................................

87

 

subreports ............................

149

section names

 

TCrpeString

 

system requirements ..........

151

and VCL Component ........

221

and VCL Component .........

212

using the RDC ....................

151

see also section codes

 

Technical Support

 

Report Engine

68

VCL Component,

 

contacting ............................

227

API ..........................................

StrToSectionCode

 

Text Objects

 

before using in your

65

method ................................

223

and Report Designer

 

application ..........................

secured databases .......................

31

Component ........................

180

distributing applications ...

102

selecting

 

U

 

introduction ..........................

64

existing reports to use .........

45

 

using .......................................

66

selection formulas

 

user IDs

 

Report Engine API

 

changing in web reports

30

 

68

USER# command .................

33

overview ................................

SF command .........................

31

USER# command .........................

33

structures ...............................

92

Server

 

using

 

using in Visual Basic

104

 

 

Image,

 

Crystal Report Engine API in

variable length strings

89

see Crystal Web Report Server

Visual Basic

104

Report Engine Automation

 

44

Page,

 

existing reports .....................

45

Server .......................................

see Crystal Web Report Server

the Crystal Report Engine

66

Report Events

 

 

Server, Automation .....................

44

the Crystal Report

 

and the Report Designer

 

Session Timeout

48

 

188

Engine API .............................

70

Component .......................

SF command ................................

31

 

 

Report Expert, Report Designer

 

Smart Navigation

26

V

 

Component

154

 

Smart Viewer

 

variable length strings

89

Report Object

 

 

 

ActiveX

57

113

 

 

obtaining in VB ..................

 

 

 

 

 

 

 

 

 

 

Index-4

VCL Component

 

and C++ Builder 3 .............

224

and saved data ...................

210

and section names .............

221

and subreports ....................

206

changing database tables and

formulas .............................

211

changing group and summary

fields ...................................

211

connecting to

 

databases ...........................

210

Delphi programming

 

overview ...........................

199

installation ...........................

194

JobNumber property ..........

212

know problems ...................

226

overview ..............................

194

programming guidlines .....

208

programming tips ...............

209

properties, changing

 

at runtime ............................

200

properties, changing with

 

Object Inspector ...............

200

ReportName property ........

209

Retrieve method .................

205

Send method .......................

211

StrToSectionCode

 

method ...............................

223

TCrpeString .........................

212

using variables ....................

215

Visual Basic

 

ActiveX Control, upgrading

 

from Crystal Custom

 

Control ...............................

110

ActiveX Controls ................

108

adding ActiveX Control to

 

project ................................

108

adding Automation Server

 

to project ...........................

111

changing properties for

 

ActiveX Control ................

110

changing properties for ActiveX

Control at runtime ............

110

dates and date ranges ........

105

embedded quotes

 

in VB calls .........................

104

hard coded nulls in VB user

defined types .....................

107

releasing objects .................

114

sample Automation Server

 

application ........................

117

section codes and ................

88

solutions ..............................

103

string issues in

 

VB links ..............................

106

using ActiveX Control .......

109

using Automation Server ..

112

using the Crystal Report Engine

API in .................................

104

Wrapper DLL ......................

107

Visual Basic applications

 

when to open Crystal Report

Engine ................................

104

Visual InterDev Design-time

 

ActiveX Control .....................

44

W

 

web reports

 

changing selection

 

formulas in ..........................

30

refreshing data ......................

37

web site

 

sample of ..............................

48

working

 

with section codes ...............

84

Index-5

Соседние файлы в папке crystal