1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Oracle Developer Report Builder Reference ppt

594 1K 2
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Oracle Developer Report Builder Reference
Tác giả Carol Menzigian, Frank Rovitto, Ingrid Snedecor, Vanessa Wang
Trường học Oracle Corporation
Chuyên ngành Information Technology
Thể loại reference
Năm xuất bản 1998
Thành phố Redwood City
Định dạng
Số trang 594
Dung lượng 0,99 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it ishighly recommended that you use the new, simplified procedure.. Setting this attribute via SRW.SET_

Trang 2

Report Builder Reference ii

Oracle ® Developer Report Builder Reference Release 6.0 The part number for this volume is A66598-01

Copyright © 1998, Oracle Corporation All rights reserved.

Contributors: Carol Menzigian, Frank Rovitto, Ingrid Snedecor, Vanessa Wang

The programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications It shall be licensee's responsibility to take all appropriate fail-safe, back up, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle disclaims liability for any damages caused by such use of the Programs.

This Program contains proprietary information of Oracle Corporation; it is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright, patent and other intellectual property law Reverse engineering of the software is prohibited.

The information contained in this document is subject to change without notice If you find any problems in the documentation, please report them to us in writing Oracle Corporation does not warrant that this document is error free No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation

If this Program is delivered to a U.S Government Agency of the Department of Defense, then

it is delivered with Restricted Rights and the following legend is applicable:

Restricted Rights Legend Programs delivered subject to the DOD FAR Supplement are

"commercial computer software" and use, duplication and disclosure of the Programs shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-14, Rights in Data General, including Alternate III (June 1987) Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065.

Oracle is a registered trademark, and Oracle Developer, Express, Oracle Browser, Oracle Forms, Oracle Graphics, Oracle Installer, Oracle Reports, Oracle7, Oracle8, Oracle Web Application Server, Personal Oracle, Personal Oracle Lite, and PL/SQL are trademarks or registered trademarks of Oracle Corporation All other company or product names mentioned are used for identification purposes only and may be trademarks of their respective owners.

Trang 3

Report Builder Reference iii

Table of Contents

BUILT-INS 1

BUILT-IN PACKAGES 2

SRW.SET_ATTR ATTRIBUTES 3

ACTION 4

AFTCODE 5

AFTFORM_ESCAPE 6

AFTPAGE_ESCAPE 7

AFTREPORT_ESCAPE 8

BBCOLOR 10

BEFCODE 11

BEFFORM_ESCAPE 12

BEFPAGE_ESCAPE 13

BEFREPORT_ESCAPE 14

BFCOLOR 16

BOOKMARK 17

BORDERWIDTH 19

BORDPATT 20

FACE 21

FBCOLOR 22

FFCOLOR 23

FILLPATT 24

FORMATMASK 25

GCOLOR 26

GSPACING 27

HJUST 28

HYPERLINK 29

LINKTAG 31

PRINTER_INTRAY 32

STYLE 33

SZ 34

TEXT 35

WEIGHT 36

THE REPORT BUILDER PL/SQL PACKAGE (SRW) 37

SRW.BREAK 38

SRW.CONTEXT_FAILURE 39

SRW.DO_SQL 40

SRW.DO_SQL_FAILURE 42

SRW.FILE_ESCAPE 43

SRW.GETERR_RUN 44

SRW.GET_PAGE_NUM 45

SRW.TEXT_ESCAPE 46

SET ATTRIBUTES PROCEDURES 47

SRW.SET_AFTER_FORM_HTML 49

SRW.SET_AFTER_PAGE_HTML 50

SRW.SET_AFTER_PRINTING_CODE 51

SRW.SET_AFTER_REPORT_HTML 52

SRW.SET_BACKGROUND_BORDER_COLOR 53

SRW.SET_BACKGROUND_FILL_COLOR 54

SRW.SET_BEFORE_FORM_HTML 55

Trang 4

Report Builder Reference iv

SRW.SET_BEFORE_PAGE_HTML 56

SRW.SET_BEFORE_PRINTING_CODE 57

SRW.SET_BEFORE_REPORT_HTML 58

SRW.SET_BOOKMARK 60

SRW.SET_BORDER_PATTERN 62

SRW.SET_BORDER_WIDTH 63

SRW.SET_CHARMODE_TEXT 64

SRW.SET_CUSTOM_SPACING 65

SRW.SET_DISPLAY_NAME 66

SRW.SET_FIELD 67

SRW.SET_FIELD_CHAR 68

SRW.SET_FIELD_DATE 69

SRW.SET_FIELD_NUM 70

SRW.SET_FILL_PATTERN 71

SRW.SET_FONT_FACE 72

SRW.SET_FONT_SIZE 73

SRW.SET_FONT_STYLE 74

SRW.SET_FONT_WEIGHT 75

SRW.SET_FOREGROUND_BORDER_COLOR 76

SRW.SET_FOREGROUND_FILL_COLOR 77

SRW.SET_FORMAT_MASK 78

SRW.SET_HYPERLINK 79

SRW.SET_HYPERLINK_ATTRS 81

SRW.SET_JUSTIFICATION 82

SRW.SET_LINKTAG 83

SRW.SET_MAXROW 84

SRW.SET_PAGE_NAVIGATION_HTML 85

SRW.SET_PDF_ACTION 86

SRW.SET_PRINTER_TRAY 87

SRW.SET_SPACING 88

SRW.SET_TEXT_COLOR 89

SRW.INTEGER_ERROR 90

SRW.MAXROW_INERR 91

SRW.MAXROW_UNSET 92

SRW.MESSAGE 93

SRW.NULL_ARGUMENTS 95

SRW.PROGRAM_ABORT 96

SRW.REFERENCE 97

SRW.RUN_REPORT 98

SRW.RUN_REPORT_BATCHNO 100

SRW.RUN_REPORT_FAILURE 101

SRW.SET_ATTR 102

SRW.TRACE_ADD_OPTION 106

SRW.TRACE_END 107

SRW.TRACE_REM_OPTION 108

SRW.TRACE_START 109

SRW.TRACEOPTS.MASK 110

SRW.TRUNCATED_VALUE 111

SRW.UNKNOWN_QUERY 112

SRW.UNKNOWN_USER_EXIT 113

SRW.USER_EXIT 114

SRW.USER_EXIT20 115

Trang 5

Report Builder Reference v

SRW.USER_EXIT_FAILURE 116

TRIGGERS 117

WHICH REPORT TRIGGER TO USE 118

REPORT TRIGGER ORDER OF EXECUTION 119

GROUP FILTER 121

FORMULA 122

VALIDATION TRIGGER 124

FORMAT TRIGGER 125

ACTION TRIGGER 128

REF CURSOR QUERY 129

AFTER PARAMETER FORM TRIGGER 131

AFTER REPORT TRIGGER 132

BEFORE PARAMETER FORM TRIGGER 133

BEFORE REPORT TRIGGER 134

BETWEEN PAGES TRIGGER 135

PROPERTIES 137

ORACLE8 USAGE NOTES 138

ABOUT THE PROPERTY PALETTE 140

ANCHOR PROPERTIES 144

CHILD EDGE PERCENT 146

CHILD EDGE TYPE 147

CHILD OBJECT NAME 148

COLLAPSE HORIZONTALLY 149

COLLAPSE VERTICALLY 150

PARENT EDGE PERCENT 152

PARENT EDGE TYPE 153

PARENT OBJECT NAME 154

BOILERPLATE PROPERTIES 155

CONTAINS HTML TAGS 156

MINIMUM WIDOW LINES 157

SOURCE FILE FORMAT 158

SOURCE FILENAME 159

TYPE 160

LINE STRETCH WITH FRAME 161

BUTTON PROPERTIES 163

LABEL TYPE 165

TEXT 166

ICON NAME 167

TYPE 168

MULTIMEDIA FILE 169

MULTIMEDIA FILE TYPE 170

MULTIMEDIA COLUMN 171

MULTIMEDIA COLUMN TYPE 172

PL/SQL TRIGGER 173

CHART PROPERTIES 174

CHART FILENAME 176

CHART HYPERLINK 177

CHART PARAMETERS AND COLUMNS PROPERTIES 178

CHART PARAMETER 179

REPORT COLUMN (FOR CHART PARAMETER) 180

CHART QUERY 181

REPORT GROUP 182

Trang 6

Report Builder Reference vi

CHART COLUMN 183

REPORT COLUMN (FOR CHART COLUMN) 184

COMMON COLUMN PROPERTIES 185

BREAK ORDER 186

COLUMN TYPE 188

COMMENT 189

DATABASE COLUMN NAME 190

DATATYPE 191

FILE FORMAT 192

NAME 193

READ FROM FILE 194

VALUE IF NULL 196

WIDTH 197

SET BREAK ORDER 198

COMMON LAYOUT OBJECT PROPERTIES 199

COMMENTS 201

HORIZONTAL ELASTICITY 202

KEEP WITH ANCHORING OBJECT 204

NAME 206

PAGE BREAK AFTER 208

PAGE BREAK BEFORE 209

PAGE PROTECT 210

BASE PRINTING ON 212

PRINT OBJECT ON 213

PRINTER CODE BEFORE 216

PRINTER CODE AFTER 217

VERTICAL ELASTICITY 218

HYPERLINK 222

HYPERLINK DESTINATION 223

BOOKMARK 224

APPLICATION COMMAND LINE (PDF) 225

CONDITIONAL FORMATTING 226

DISPLAY NAME 227

ADDITIONAL HYPERLINK ATTRIBUTES 228

DATABASE COLUMN PROPERTIES 229

FIELD PROPERTIES 230

SOURCE DATATYPE 232

FORMAT MASK 233

DATE AND TIME FORMAT MASK SYNTAX 234

NUMBER FORMAT MASK SYNTAX 236

VISIBLE 240

PAGE NUMBERING 242

SOURCE 245

FORMULA COLUMN PROPERTIES 247

FRAME PROPERTIES 248

GROUP PROPERTIES 249

CHILD DIMENSION 250

FILTER TYPE 251

NAME 252

COMMENT 253

NUMBER OF RECORDS 254

PL/SQL FILTER 255

Trang 7

Report Builder Reference vii

DATA LINK PROPERTIES 256

CHILD COLUMN 259

CHILD QUERY 260

CONDITION 261

PARENT COLUMN 262

PARENT GROUP 263

SQL CLAUSE 264

MATRIX PROPERTIES 265

CROSS PRODUCT GROUP 266

HORIZONTAL REPEATING FRAME 268

VERTICAL REPEATING FRAME 269

DATABASE COLUMN OBJECT PROPERTIES 270

OLE2 PROPERTIES 271

PARAMETER PROPERTIES 272

SYSTEM PARAMETERS 273

ADD 274

COMMENT 275

DATATYPE 276

HIDE FIRST COLUMN 277

INITIAL VALUE 278

INPUT MASK 279

NAME 280

REMOVE 281

RESTRICT LIST TO PREDETERMINED VALUES 282

SELECT STATEMENT/STATIC VALUES 283

VALIDATION TRIGGER 284

VALUE 285

WIDTH 286

LIST OF VALUES 287

PARAMETER FORM BOILERPLATE PROPERTIES 288

NAME 289

TYPE 290

PARAMETER FORM FIELD PROPERTIES 291

DATATYPE 292

NAME 293

SOURCE 294

PLACEHOLDER COLUMN PROPERTIES 295

PL/SQL FORMULA 297

ALPHABETICAL LIST OF PROPERTIES 298

QUERY PROPERTIES 304

COMMENT 305

EXTERNAL QUERY SOURCE FILE 306

MAXIMUM ROWS TO FETCH 307

NAME 308

SQL QUERY STATEMENT 309

TYPE 311

DATABASE REF COLUMN PROPERTIES 312

REPEATING FRAME PROPERTIES 313

COLUMN MODE 314

HORIZ SPACE BETWEEN FRAMES 315

MAXIMUM RECORDS PER PAGE 316

MINIMUM WIDOW RECORDS 317

Trang 8

Report Builder Reference viii

PRINT DIRECTION 318

SOURCE 320

VERT SPACE BETWEEN FRAMES 321

REPORT PROPERTIES 322

UNIT OF MEASUREMENT 324

MAX HORIZONTAL BODY PAGES 325

MAX VERTICAL BODY PAGES 326

PANEL PRINT ORDER 327

DIRECTION 328

DISTRIBUTION 329

PREVIEWER TITLE 330

ROLE NAME 331

WIDTH (PARAMETER FORM WINDOW) 332

HEIGHT (PARAMETER FORM WINDOW) 333

NUMBER OF PAGES 334

PAGE NAVIGATION CONTROL TYPE 335

PAGE NAVIGATION CONTROL VALUE 336

BEFORE REPORT TYPE 337

BEFORE REPORT VALUE 338

AFTER REPORT TYPE 339

AFTER REPORT VALUE 340

BEFORE PAGE TYPE 341

BEFORE PAGE VALUE 342

AFTER PAGE TYPE 343

AFTER PAGE VALUE 344

BEFORE FORM TYPE 345

BEFORE FORM VALUE 346

AFTER FORM TYPE 347

AFTER FORM VALUE 348

DESIGN IN CHARACTER UNITS 349

USE PREVIEWER HINT LINE 350

PREVIEWER HINT LINE TEXT 351

USE PREVIEWER STATUS LINE 352

PREVIEWER STATUS LINE TEXT 353

INCLUDE BITMAPPED OBJECTS 354

INCLUDE BORDERS 355

DISABLE HOST MENU ITEM 356

DISABLE SPLIT SCREEN KEY 357

DISABLE ZOOM KEY 358

START IN ZOOM 359

SUPPRESS PREVIEWER TITLE 360

REF CURSOR QUERY PROPERTIES 361

PL/SQL STATEMENT 362

SECTION PROPERTIES 363

DISTRIBUTION 364

HEIGHT 365

HORIZONTAL PANELS PER PAGE 366

ORIENTATION 367

REPORT HEIGHT 368

REPORT WIDTH 369

VERTICAL PANELS PER PAGE 370

WIDTH 371

Trang 9

Report Builder Reference ix

SUMMARY COLUMN PROPERTIES 372

COMPUTE AT 373

FUNCTION 376

PRODUCT ORDER 377

RESET AT 381

SOURCE 383

TEMPLATE PROPERTIES 384

ALIGNMENT 386

ALIGN SUMMARIES WITH FIELDS 387

BACKGROUND COLOR 388

BETWEEN FIELD AND LABELS (HORIZONTAL) 389

BETWEEN FRAME AND FIELDS (HORIZONTAL) 390

BETWEEN FRAME AND FIELDS (VERTICAL) 391

BETWEEN MASTER AND DETAIL (HORIZONTAL) 392

BETWEEN MASTER AND DETAIL (VERTICAL) 393

BETWEEN PAGE AND FRAMES (HORIZONTAL) 394

BETWEEN PAGE AND FRAMES (VERTICAL) 395

BETWEEN SIBLING FRAMES (HORIZONTAL) 396

BETWEEN SIBLING FRAMES (VERTICAL) 397

BORDERS 398

CHARACTER JUSTIFICATION 399

DASH 400

DATE JUSTIFICATION 401

EDGE FOREGROUND COLOR 402

EDGE BACKGROUND COLOR 403

EDGE PATTERN 404

FIELDS PER LINE 405

FILL PATTERN 406

FONT 407

FOREGROUND COLOR 408

IMAGE 409

INTER-FIELD (HORIZONTAL) 410

INTER-FIELD (VERTICAL) 411

INTER-FRAME (HORIZONTAL) 412

INTER-FRAME (VERTICAL) 413

JUSTIFY 414

NUMBER JUSTIFICATION 415

PLACE LABELS ABOVE FIELDS 416

POSITION 417

STYLE 418

TEXT 419

TEXT COLOR 420

USE VERTICAL SPACING 421

EXECUTABLES 423

EXECUTABLE NAMES 424

EXECUTABLE INVOCATION 425

HELP ON COMMAND LINE OPTIONS 426

KEYWORD USAGE 428

DATABASE LOGIN 429

EXPLICIT LOGIN 430

USERID 431

AUTOMATIC LOGIN 432

Trang 10

Report Builder Reference x

REMOTE LOGIN 433

RWBLD60 434

RWBLD60 COMMAND LINE ARGUMENTS 435

MODULE|REPORT (RWBLD60) 437

PARAMFORM (RWBLD60) 438

CMDFILE (RWBLD60) 439

ARRAYSIZE (RWBLD60) 440

DESTYPE (RWBLD60) 441

DESNAME (RWBLD60) 442

DESFORMAT (RWBLD60) 443

COPIES (RWBLD60) 444

CACHELOB (RWBLD60) 445

CURRENCY (RWBLD60) 446

THOUSANDS (RWBLD60) 447

DECIMAL (RWBLD60) 448

READONLY (RWBLD60) 449

BUFFERS (RWBLD60) 450

PAGESIZE (RWBLD60) 451

PROFILE (RWBLD60) 452

RUNDEBUG (RWBLD60) 453

ONSUCCESS (RWBLD60) 454

ONFAILURE (RWBLD60) 455

ERRFILE (RWBLD60) 456

LONGCHUNK (RWBLD60) 457

ACCESS (RWBLD60) 458

ORIENTATION (RWBLD60) 459

BACKGROUND (RWBLD60) 460

MODE (RWBLD60) 461

PRINTJOB (RWBLD60) 462

TRACEFILE (RWBLD60) 463

TRACEMODE (RWBLD60) 464

TRACEOPTS (RWBLD60) 465

AUTOCOMMIT (RWBLD60) 466

NONBLOCKSQL (RWBLD60) 467

ROLE (RWBLD60) 468

BLANKPAGES (RWBLD60) 469

MAXIMIZE (RWBLD60) 470

DISABLEPRINT (RWBLD60) 471

DISABLEMAIL (RWBLD60) 472

DISABLEFILE (RWBLD60) 473

DISABLENEW (RWBLD60) 474

DELIMITER (RWBLD60) 475

CELLWRAPPER (RWBLD60) 476

DATEFORMATMASK (RWBLD60) 477

NUMBERFORMATMASK (RWBLD60) 478

DESTINATION (RWBLD60) 479

DISTRIBUTE (RWBLD60) 480

PAGESTREAM (RWBLD60) 481

EXPRESS_SERVER (RWBLD60) 482

<PARAM> (RWBLD60) 484

RWCGI60 485

RWCLI60 486

Trang 11

Report Builder Reference xi

RWCLI60 COMMAND LINE ARGUMENTS 487

PARAMFORM (RWCLI60) 489

DESTYPE (RWCLI60) 490

BATCH (RWCLI60) 491

BACKGROUND (RWCLI60) 492

SERVER (RWCLI60) 493

JOBNAME (RWCLI60) 494

SCHEDULE (RWCLI60) 495

TOLERANCE (RWCLI60) 496

RWCON60 497

RWCON60 COMMAND LINE ARGUMENTS 498

STYPE (RWCON60) 499

SOURCE (RWCON60) 500

DTYPE (RWCON60) 501

DEST (RWCON60) 502

CMDFILE (RWCON60) 503

LOGFILE (RWCON60) 504

OVERWRITE (RWCON60) 505

BATCH (RWCON60) 506

DUNIT (RWCON60) 507

PAGESIZE (RWCON60) 508

FORMSIZE (RWCON60) 509

RWMTS60 510

RWRQM60 511

RWRQV60 512

RWOWS60 513

RWRBE60 514

RWRUN60 515

RWRUN60 COMMAND LINE ARGUMENTS 516

MODULE|REPORT (RWRUN60) 518

PARAMFORM (RWRUN60) 519

CMDFILE (RWRUN60) 520

TERM (RWRUN60) 521

ARRAYSIZE (RWRUN60) 522

DESTYPE (RWRUN60) 523

DESNAME (RWRUN60) 524

DESFORMAT (RWRUN60) 525

COPIES (RWRUN60) 526

CACHELOB (RWRUN60) 527

CURRENCY (RWRUN60) 528

THOUSANDS (RWRUN60) 529

DECIMAL (RWRUN60) 530

READONLY (RWRUN60) 531

LOGFILE (RWRUN60) 532

BUFFERS (RWRUN60) 533

BATCH (RWRUN60) 534

PAGESIZE (RWRUN60) 535

PROFILE (RWRUN60) 536

RUNDEBUG (RWRUN60) 537

ONSUCCESS (RWRUN60) 538

ONFAILURE (RWRUN60) 539

KEYIN (RWRUN60) 540

Trang 12

Report Builder Reference xii

KEYOUT (RWRUN60) 541

ERRFILE (RWRUN60) 542

LONGCHUNK (RWRUN60) 543

ORIENTATION (RWRUN60) 544

BACKGROUND (RWRUN60) 545

MODE (RWRUN60) 546

PRINTJOB (RWRUN60) 547

TRACEFILE (RWRUN60) 548

TRACEMODE (RWRUN60) 549

TRACEOPTS (RWRUN60) 550

AUTOCOMMIT (RWRUN60) 551

NONBLOCKSQL (RWRUN60) 552

ROLE (RWRUN60) 553

BLANKPAGES (RWRUN60) 554

YES (RWRUN60) 555

DISABLEPRINT (RWRUN60) 556

DISABLEMAIL (RWRUN60) 557

DISABLEFILE (RWRUN60) 558

DISABLENEW (RWRUN60) 559

DESTINATION (RWRUN60) 560

DISTRIBUTE (RWRUN60) 561

DELIMITER (RWRUN60) 562

CELLWRAPPER (RWRUN60) 563

DATEFORMATMASK (RWRUN60) 564

NUMBERFORMATMASK (RWRUN60) 565

PAGESTREAM (RWRUN60) 566

EXPRESS_SERVER (RWRUN60) 567

<PARAM> (RWRUN60) 569

Trang 13

Report Builder Reference xiii

Send Us Your Comments

Oracle Developer Report Builder Reference

Part No A66598-01Oracle Corporation welcomes your comments and suggestions onthe quality and usefulness of this publication Your input is animportant part of the information used for revision

• Did you find any errors?

• Is the information clearly presented?

• Do you need more information? If so, where?

• Are the examples correct? Do you need more examples?

• What features did you like most about this manual?

If you find any errors or have any other suggestions forimprovement, you can send comments by electronic mail tooddoc@us.oracle.com Please indicate the part number, section, andpage number (if available)

Trang 14

Report Builder Reference xiv

Trang 15

Report Builder Reference xv

Trang 16

Report Builder Reference xvi

Prerequisites

You should be familiar with your computer and its operating system.For example, you should know the commands for deleting andcopying files and understand the concepts of search paths,subdirectories, and path names Refer to your Microsoft Windows 95

or NT and DOS product documentation for more information.You should also understand the fundamentals of MicrosoftWindows, such as the elements of an application window Youshould also be familiar with such programs as the Explorer, Taskbar

or Task Manager, and Registry

Notational Conventions

The following typographical conventions are used in this guide:

Convention Meaning

fixed-width font Text in a fixed-width font indicates commands

that you enter exactly as shown Text typed on a

PC is not case-sensitive unless otherwise noted

In commands, punctuation other than bracketsand vertical bars must be entered exactly asshown

lowercase Lowercase characters in a command statement

represent a variable Substitute an appropriatevalue

UPPERCASE Uppercase characters within the text represent

command names, SQL reserved words, andkeywords

boldface Boldface is used to indicate user interface items

such as menu choices and buttons

C> C> represents the DOS prompt Your prompt

may differ

Related Publications

You may also wish to consult the following Oracle documentation:

Oracle Developer: Guidelines for Building

SQL*Plus User's Guide and Reference Version 3.1 A24801

Trang 17

Report Builder Reference 1

Built-Ins

Trang 18

Report Builder Reference 2

Trang 19

Report Builder Reference 3

Trang 20

Report Builder Reference 4

ACTION

New Feature: It is now more convenient to set this attribute using the SRW.SET_PDF_ACTIONprocedure Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it ishighly recommended that you use the new, simplified procedure

Description Is a command line that will be executed on the local machine when the object isclicked in the PDF viewer

Note: An object that is associated with an action cannot also be the source of a Web link

Values

Any valid command line on the local machine (e.g., c:\orawin\bin\rwrun60

ACTION restrictions

n ACTION is only available for PDF output

n ACTION should only be set in the following triggers:

/* The format trigger below defines an “action” (in

** this case a call to the Reports Runtime) that

** should be executed when the user clicks on the

Trang 21

Report Builder Reference 5

AFTCODE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_AFTER_PRINTING_CODE procedure Setting this attribute via SRW.SET_ATTR isstill supported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is a reference to the printer escape sequence to be executed after each line of theobject The printer escape sequence is inserted after the object is triggered to print but before ithas actually printed AFTCODE is only used when running your report in character-mode

Values

A string of the form &number, where number is a number assigned to a packaged Report Builderprinter escape sequence or a printer escape sequence that you created

Trang 22

Report Builder Reference 6

AFTFORM_ESCAPE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_AFTER_FORM_HTML procedure Setting this attribute via SRW.SET_ATTR is stillsupported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is any text, graphics, or HTML commands that you want to appear at the bottom ofthe HTML Parameter Form This attribute is useful for placing a logo or some standard links onthe Parameter Form

Values

You must specify two items for this attribute:

n AFTFORM_ESCAPE_TYPE can be set to either SRW.FILE_ESCAPE or SRW.TEXT_ESCAPE

n AFTFORM_ESCAPE_VALUE can be a filename or a text string containing valid HTMLdepending upon what you specified for AFTFORM_ESCAPE_TYPE If you specify a file, theFile searching method is used to find it

Trang 23

Report Builder Reference 7

AFTPAGE_ESCAPE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_AFTER_PAGE_HTML procedure Setting this attribute via SRW.SET_ATTR is stillsupported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is any text, graphics, or HTML commands that you want to appear at the end ofpages of your document This attribute is useful for placing a logo or some standard links at theend of each page in an HTML document

Values

You must specify two items for this attribute:

n AFTPAGE_ESCAPE_TYPE can be set to either SRW.FILE_ESCAPE or SRW.TEXT_ESCAPE

n AFTPAGE_ESCAPE_VALUE can be a filename or a text string containing valid HTML

depending upon what you specified for AFTPAGE_ESCAPE_TYPE If you specify a file, theFile searching method is used to find it

n If you want the AFTPAGE_ESCAPE to apply to every page of the report, you should specify

it in a trigger that fires before the report begins formatting, such as the Before Report trigger

n If you want the AFTPAGE_ESCAPE to apply only to the current page, you should specify it

in a format trigger for an object on that page

Graphic page separator example

Note: This example illustrates using SRW.SET_ATTR to set the AFTPAGE_ESCAPE attribute It

is now more convenient to set this attribute using the SRW.SET_AFTER_PAGE_HTML

procedure Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it ishighly recommended that you use the new, simplified procedure

/* The example below inserts a GIF file as a

Trang 24

Report Builder Reference 8

AFTREPORT_ESCAPE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_AFTER_REPORT_HTML procedure Setting this attribute via SRW.SET_ATTR is stillsupported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is any text, graphics, or HTML commands that you want to appear at the end ofyour document This attribute is useful for placing a logo or some standard links at the end of anHTML document

Values

You must specify two items for this attribute:

n AFTREPORT_ESCAPE_TYPE can be set to either SRW.FILE_ESCAPE or

SRW.TEXT_ESCAPE

n AFTREPORT_ESCAPE_VALUE can be a filename or a text string containing valid HTMLdepending upon what you specified for AFTREPORT_ESCAPE_TYPE If you specify a file,the File searching method is used to find it

AFTREPORT_ESCAPE restrictions

n When you specify SRW.SET_ATTR for this attribute you must use SRW.REPORT_ID as theobject_id:

SRW.SET_ATTR(SRW.REPORT_ID, SRW.ATTR);

n The default HTML included at the end of a report is shown below If you use

AFTREPORT_ESCAPE to replace this text, you must ensure that it contains the equivalentHTML commands

</body></html>

n AFTREPORT_ESCAPE should be set in a trigger that fires before the report is done

formatting, such as the Before Report trigger

Links to home pages example

Note: This example illustrates using SRW.SET_ATTR to set the AFTREPORT_ESCAPE attribute

It is now more convenient to set this attribute using the SRW.SET_AFTER_REPORT_HTMLprocedure Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it ishighly recommended that you use the new, simplified procedure

/* The example below inserts two links to home pages

** at the end of the report output.

Trang 25

Report Builder Reference 9

end;

Trang 26

Report Builder Reference 10

BBCOLOR

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BACKGROUND_BORDER_COLOR procedure Setting this attribute via

SRW.SET_ATTR is still supported for compatibility, but it is highly recommended that you usethe new, simplified procedure

Description Is the background border color of the object This attribute is ignored in charactermode

Values

A valid color name

Trang 27

Report Builder Reference 11

BEFCODE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BEFORE_PRINTING_CODE procedure Setting this attribute via SRW.SET_ATTR isstill supported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is a reference to the printer escape sequence to be executed before each line of theobject The printer escape sequence is inserted after the object is triggered to print but before ithas actually printed BEFCODE is only used when running your report in character-mode

Values

A string of the form &number, where number is a number assigned to a packaged Report Builderprinter escape sequence or a printer escape sequence that you created

Trang 28

Report Builder Reference 12

BEFFORM_ESCAPE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BEFORE_FORM_HTML procedure Setting this attribute via SRW.SET_ATTR is stillsupported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is any text, graphics, or HTML commands that you want to appear at the top of theHTML Parameter Form This attribute is useful for placing a logo or some standard links on theParameter Form

Values

You must specify two items for this attribute:

n BEFFORM_ESCAPE_TYPE can be set to either SRW.FILE_ESCAPE or SRW.TEXT_ESCAPE

n BEFFORM_ESCAPE_VALUE can be a filename or a text string containing valid HTMLdepending upon what you specified for BEFFORM_ESCAPE_TYPE If you specify a file, theFile searching method is used to find it

Trang 29

Report Builder Reference 13

BEFPAGE_ESCAPE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BEFORE_PAGE_HTML procedure Setting this attribute via SRW.SET_ATTR is stillsupported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is any text, graphics, or HTML commands that you want to appear at the beginning

of pages of your document This attribute is useful for placing a logo or some standard links atthe beginning of each page in an HTML document

Values

You must specify two items for this attribute:

n BEFPAGE_ESCAPE_TYPE can be set to either SRW.FILE_ESCAPE or SRW.TEXT_ESCAPE

n BEFPAGE_ESCAPE_VALUE can be a filename or a text string containing valid HTML

depending upon what you specified for BEFPAGE_ESCAPE_TYPE If you specify a file, theFile searching method is used to find it

BEFPAGE_ESCAPE restrictions

n When you specify SRW.SET_ATTR for this attribute you must use SRW.REPORT_ID as theobject_id:

SRW.SET_ATTR(SRW.REPORT_ID, SRW.ATTR);

n If you want the BEFPAGE_ESCAPE to apply to every page of the report, you should specify

it in a trigger that fires before the report begins formatting, such as the Before Report trigger

n If you want the BEFPAGE_ESCAPE to apply only to the current page, you should specify it

in a format trigger for an object on that page

Before and after page escape example

Note: This example illustrates using SRW.SET_ATTR to set the BEFPAGE_ESCAPE and

AFTPAGE_ESCAPE attributes It is now more convenient to set these attributes using the

SRW.SET_BEFORE_PAGE_HTML and SRW.SET_AFTER_PAGE_HTML procedures Settingthis attribute via SRW.SET_ATTR is still supported for compatibility, but it is highly

recommended that you use the new, simplified procedure

/* The example below centers the document in

Trang 30

Report Builder Reference 14

BEFREPORT_ESCAPE

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BEFORE_REPORT_HTML and SRW.SET_AFTER_REPORT_HTML procedures.Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it is highlyrecommended that you use the new, simplified procedure

Description Is any text, graphics, or HTML commands that you want to appear at the beginning

of your document This attribute is useful for placing a logo or some standard links at the

beginning of an HTML document

Values

You must specify two items for this attribute:

n BEFREPORT_ESCAPE_TYPE can be set to either SRW.FILE_ESCAPE or

SRW.TEXT_ESCAPE

n BEFREPORT_ESCAPE_VALUE can be a filename or a text string containing valid HTMLdepending upon what you specified for BEFREPORT_ESCAPE_TYPE If you specify a file,the File searching method is used to find it

BEFREPORT_ESCAPE restrictions

n When you specify SRW.SET_ATTR for this attribute you must use SRW.REPORT_ID as theobject_id:

SRW.SET_ATTR(SRW.REPORT_ID, SRW.ATTR);

n The default HTML included at the beginning of a report is shown below If you use

BEFREPORT_ESCAPE to replace this text, you must ensure that it contains the equivalentHTML commands

<html>

<body bgcolor="#ffffff">

n BEFREPORT_ESCAPE should be set in a trigger that fires before the report starts formatting,such as the Before Report trigger

Before and after report escape example

Note: This example illustrates using SRW.SET_ATTR to set the BEFREPORT_ESCAPE andAFTREPORT_ESCAPE attributes It is now more convenient to set these attributes using theSRW.SET_BEFORE_REPORT_HTML procedure Setting this attribute via SRW.SET_ATTR is stillsupported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

/* The example below sets both BEFREPORT_ESCAPE and

** AFTREPORT_ESCAPE in the Before Report trigger.

** The HTML for BEFREPORT_ESCAPE is located in a file

** named logo.htm The HTML for AFTREPORT_ESCAPE is

** specified within the PL/SQL itself.

Trang 31

Report Builder Reference 15

Trang 32

Report Builder Reference 16

BFCOLOR

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BACKGROUND_FILL_COLOR procedure Setting this attribute via SRW.SET_ATTR

is still supported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is the background fill color of the object This attribute is ignored in character mode

Values

A valid color name

Trang 33

Report Builder Reference 17

BOOKMARK

New Feature: It is now more convenient to set this attribute using the SRW.SET_BOOKMARKprocedure Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it ishighly recommended that you use the new, simplified procedure

Description Is a string that will appear in a frame of the master HTML document or in the PDFviewer if you open the bookmark area Clicking on the bookmark displays the associated object

at the top of the window

Values

A text string with no indentation/ordering information The bookmark will appear in the

bookmark list according to when the object is rendered by the report

A text string with explicit ordering/indentation of the form x#book_mark_name, where x is an

outline number The pound sign (#) and outline number do not appear in the bookmark windowbut are used to determine order and indentation For example:

1#Expense Summary Section

2#Expense Detail Section

2.1#Expenses for the Administration Department

2.2#Expenses for the Engineering Department

2.3#Expenses for the Sales Department

2.3.1#Expenses for the Eastern Sales Region

2.3.2#Expenses for the Northern Sales Region

2.3.3#Expenses for the Southern Sales Region

2.3.4#Expenses for the Western Sales Region

BOOKMARK restrictions

n If the same outline number is used multiple times, all entries appear but the order is defined

by when the objects are rendered by the report

n If there are gaps in the numbers, one of two things will happen If the gap is between peerlevel numbers, there will be no visible effect (e.g., 1.3.1 and 1.3.3, given there is no 1.3.2, willappear next to each other and at the same indentation level) If the gap is between a higherlevel number and a lower level number, intermediate levels will be generated as required(e.g., 1.0 followed by 2.1.1 will cause dummy 2 and 2.1 entries to be defined, whose titles will

be the same as the subsequent real entry)

n BOOKMARK should only be set in the following triggers:

Format

BOOKMARK example

Note: This example illustrates using SRW.SET ATTR to set the BOOKMARK attribute It is nowmore convenient to set this attribute using the SRW.SET_BOOKMARK procedure Setting thisattribute via SRW.SET_ATTR is still supported for compatibility, but it is highly recommendedthat you use the new, simplified procedure

/* The format trigger below defines a bookmark for

** the boilerplate object B_2 Notice the use of

** explicit ordering information (1#) in this example.

** If you did not want the ordering information, you

Trang 34

Report Builder Reference 18

return (TRUE);

end;

Dynamic BOOKMARK example

Note: This example illustrates using SRW.SET ATTR to set the BOOKMARK attribute It is nowmore convenient to set this attribute using the SRW.SET_BOOKMARK procedure Setting thisattribute via SRW.SET_ATTR is still supported for compatibility, but it is highly recommendedthat you use the new, simplified procedure

/* The format trigger below defines a bookmark for

** the boilerplate object B_2 Notice that the name

** of the bookmark is dynamic CATEGORY is a column

** value that is concatenated with the string Expense

** Summary Section for each execution of the format

** trigger In this case, CATEGORY could contain

** ordering information (e.g., 1#) or perhaps a string

** that makes the bookmark unique within the report.

Trang 35

Report Builder Reference 19

BORDERWIDTH

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BORDER_WIDTH procedure Setting this attribute via SRW.SET_ATTR is still

supported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is the border width of the object

Trang 36

Report Builder Reference 20

BORDPATT

New Feature: It is now more convenient to set this attribute using the

SRW.SET_BORDER_PATTERN procedure Setting this attribute via SRW.SET_ATTR is stillsupported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is the fill pattern for the border of the object This attribute is ignored in charactermode

Values

A valid pattern name

Trang 37

Report Builder Reference 21

FACE

New Feature: It is now more convenient to set this attribute using the SRW.SET_FONT_FACEprocedure Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it ishighly recommended that you use the new, simplified procedure

Description Is the font face of a CHAR, DATE, or NUMBER field This attribute is ignored incharacter mode

Values

A valid font name on the machine where the report is run

Trang 38

Report Builder Reference 22

FBCOLOR

New Feature: It is now more convenient to set this attribute using the

SRW.SET_FOREGROUND_BORDER_COLOR procedure Setting this attribute via

SRW.SET_ATTR is still supported for compatibility, but it is highly recommended that you usethe new, simplified procedure

Description Is the foreground border color of the object This attribute is ignored in charactermode

Values

A valid color name

Trang 39

Report Builder Reference 23

FFCOLOR

New Feature: It is now more convenient to set this attribute using the

SRW.SET_FOREGROUND_FILL_COLOR procedure Setting this attribute via SRW.SET_ATTR

is still supported for compatibility, but it is highly recommended that you use the new, simplifiedprocedure

Description Is the foreground fill color of the object This attribute is ignored in character mode

Values

A valid color name

Trang 40

Report Builder Reference 24

FILLPATT

New Feature: It is now more convenient to set this attribute using the SRW.SET_FILL_PATTERNprocedure Setting this attribute via SRW.SET_ATTR is still supported for compatibility, but it ishighly recommended that you use the new, simplified procedure

Description Is the fill pattern of the object This attribute is ignored in character mode

Values

A valid pattern name

Ngày đăng: 17/01/2014, 09:20

TỪ KHÓA LIÊN QUAN