report designer 50 guide eng

Upload: euelvis1045

Post on 06-Jul-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/16/2019 Report Designer 50 Guide Eng

    1/93

     M2Soft Co. Ltd.

    How to make a report using‘Report Designer’

    - Part 1. Basic report using database connection

  • 8/16/2019 Report Designer 50 Guide Eng

    2/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Definition of Sample Report

    General view of sample report.

    Report Designer 5.0u

    Report Designer Version

    indows !5 " !# " $% " &000 " 'P

    System OS

    (ser Define

    File Defnition

    )able *orm

    Report Type

    $&Soft+e.mdb ,utomaticall set

    w/en installing RD

    Data Source

    D - DB2 ,DS34$&Soft+e used

    Database Connection

    Sales ist

    Name o Report or exercise

    DB - 2

    2/oosing a rig/t Report tpe in Report Designer is

    crucial to present data correctl.

    Please refer to t/e $anual for more details.

  • 8/16/2019 Report Designer 50 Guide Eng

    3/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Start Report Designer

    et6s Begin7 Please follow t/e steps below

    .."Program *iles"$&Soft"Report Designer 5.0u"%8amples

    Directory o Report Designer Example Files

    .."Program *iles"$&Soft"Report Designer 5.0u

    Installe Directory o Report Designer

    2lic9 /ere

    DB - 3

  • 8/16/2019 Report Designer 50 Guide Eng

    4/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Report Designer %ditor aout

    Report Designer %ditor : ord Processor ; S

  • 8/16/2019 Report Designer 50 Guide Eng

    5/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2reate a 3ew Report

    2reate a new report > $enu Bar or )ool Bar

    DB - 5

  • 8/16/2019 Report Designer 50 Guide Eng

    6/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2reating Report Dialog Bo8

    *ile Definition " Report *orm " DB 2onnection

    *ile Definition

    2reate a report b t/e users6 preference

    !ser Defne

    2reate a report according to pre-defined steps

    "i#ar

    Report )pe

    Please refer to t/e $anual for more details.

    $roupe by ata presentation property DB 2onnection

    D " RDG%3) " 3%)

    Databases

    *?% " '$*?%

    External DataSelect (ser Define > )able *orm - D

    DB - 6

  • 8/16/2019 Report Designer 50 Guide Eng

    7/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    3ew Report

    3ew Page on or9 rea " $enu ctivated

    1. Drawing Report *orm

    $eneral Steps oCreating Reports

    &. Data *etc/

    @. 2onnect Data to t/e *orm

    DB - 7

    2reate a reportaccording to steps above.

  • 8/16/2019 Report Designer 50 Guide Eng

    8/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Drawing Report *orm

    2reate ob=ects > )e8t *rameA )able

    )e8t *rame

    1. Select an ob=ect to beinserted

    Steps o Inserting Ob%ects

    &. 2reate b 2lic9 Drag

    )able

    DB - 8

  • 8/16/2019 Report Designer 50 Guide Eng

    9/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Drawing Report *orm

    ?nput te8t > )itleA Ceader

    1. Place a cursor w/ere  ou want to tpe in.

    Input Text

    &. )pe ?n

    ?f a cursor is in Selection6

    modeA onl an ob=ect will

    be selected.2/ange to )e8t *rame6

    mode or simpl double

    clic9 on a place w/ere ou

    want to tpe in to

    enter te8t correctl.

    )itle

    Ceader

    DB - 9

  • 8/16/2019 Report Designer 50 Guide Eng

    10/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Drawing Report *orm

    %dit *orm

    $iddle lignment

    2enter lignment

    Select $ultiple b=ect b

    S/ift ; $ouse 2lic9

    *ont )pe

    *ont SiEe ?n )e8t *rame6 modeA bloc9

    areas b dragging a mouse

    and edit t/e w/ole bloc9ed

    area simultaneousl.

    Selection $ode

    $iddle lignment b Page

    DB - 10

  • 8/16/2019 Report Designer 50 Guide Eng

    11/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Drawing Report *orm

    %dit *orm

    Ceader of a )able

    Report Type & Table

    utomatic Repetition Row

    according to data

    ' (eaer Section

    ' Repetition Section

    Blue ine 4 bove > Ceader Section

      Below > Repetition Section

    Data can be displaed in an

    sectionA Ceader or Repetition

    Section

    DB - 11

  • 8/16/2019 Report Designer 50 Guide Eng

    12/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    Select 2onnect Database6 from $enu Bar

    nce t/e report form connect

    to DatabaseA S

  • 8/16/2019 Report Designer 50 Guide Eng

    13/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    2onnect Database6 Dialog Bo8 and Database 2onnection $essage

    DB - 13

    1. 2reate a 2onnecting String6

    &. Select % DB Provider for DB2 Drivers @. (se Data Source 3ame > Select $&Soft+e

    F. 2onfirm t/e connection string

    created b iEard

    5. 2onfirm Successful

    Database 2onnection

  • 8/16/2019 Report Designer 50 Guide Eng

    14/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    Select

  • 8/16/2019 Report Designer 50 Guide Eng

    15/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    2reate a s/ort S Select6 Section @. Select Sorting > rder B6 Section

    S

  • 8/16/2019 Report Designer 50 Guide Eng

    16/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    Jerification of S

  • 8/16/2019 Report Designer 50 Guide Eng

    17/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2onnect Data to t/e *orm

    Select 2onnect to Dataset6 from $enu Bar

    DB - 17

  • 8/16/2019 Report Designer 50 Guide Eng

    18/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2onnect Data to t/e *orm

    2onnect to Dataset6 Dialog Bo8

    *ields selected from

    S

  • 8/16/2019 Report Designer 50 Guide Eng

    19/93 

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2onnect Data to t/e *orm

    2onnect Data to t/e *orm > & met/ods to connect.

    1. Select a bloc9 to connect a data

    @. Select a ne8t bloc9 toconnect a data

    &. Select a field name

    from t/e field list

    @. 2lic9 ppl6 Button

    DB - 19

    (1st method)

    (2nd method)

  • 8/16/2019 Report Designer 50 Guide Eng

    20/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *inal *orm - Basic

    *inal *orm

    Run Jiewer

    DB - 20

    Run Jiewer

  • 8/16/2019 Report Designer 50 Guide Eng

    21/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Jiewer Result

    Result at Jiewer

    DB - 21

  • 8/16/2019 Report Designer 50 Guide Eng

    22/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    DB - 22

    $emo

    $emo$emo

  • 8/16/2019 Report Designer 50 Guide Eng

    23/93

     M2Soft Co. Ltd.

    How to make a report using‘Report Designer’

    - Part&. Basic Report using *ile 2onnection

    (Data File: All csv type Stream. txt, Web Script Language (e.g. asp, jsp, etc.) stream, ...)

  • 8/16/2019 Report Designer 50 Guide Eng

    24/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Definition of Sample Report

    Report Designer 5.0u

    Report Designer Version

    indows !5 " !# " $% " &000 " 'P

    System OS

    (ser Define

    File Defnition

    )able *orm

    Report Type

    Sale+1!!#0&.t8t

    Data Source

    *ile

    Database Connection

    Sales ist

    Name o Report or exercise

    File - 2

    General view of sample report.

    2/oosing a rig/t Report tpe in Report Designer is

    crucial to present data correctl.

    Please refer to t/e $anual for more details.

  • 8/16/2019 Report Designer 50 Guide Eng

    25/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Start Report Designer

    et6s Begin7 Please follow t/e steps below.

    .."Program *iles"$&Soft"Report Designer 5.0u"%8amples

    Directory o Report Designer Example Files

    .."Program *iles"$&Soft"Report Designer 5.0u

    Installe Directory o Report Designer

    2lic9 /ere

    File - 3

  • 8/16/2019 Report Designer 50 Guide Eng

    26/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Report Designer %ditor aout

    Report Designer %ditor : ord Processor ; Data

    File - 4

    or9 rea

    Pro=ect $anagementindow

    $enu Bar

    )ool Bar

    Status Bar

  • 8/16/2019 Report Designer 50 Guide Eng

    27/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2reate a 3ew Report

    2reate a new report > $enu Bar or )ool Bar

    File - 5

  • 8/16/2019 Report Designer 50 Guide Eng

    28/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2reate a 3ew Report Dialog Bo8

    *ile Definition " Report *orm " DB 2onnection

    2reate a report b users6 preference

    !ser Defne

    2reate a report according to pre-defined steps

    "i#ar

    Please refer to t/e $anual.

    $roupe by ata presentation property

    Select (ser Define > )able *orm - *ile

    File - 6

    D " RDG%3) " 3%)

    Database

    *?% " '$*?%

    External Data

    *ile Definition

    Report )pe

    DB 2onnection

  • 8/16/2019 Report Designer 50 Guide Eng

    29/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    3ew Report

    3ew Page on or9 rea " $enu ctive

    1. 2reating Report *orm

    $eneral Steps oCreating Reports

    &. Data *etc/

    @. 2onnect Data to t/e *orm

    2reate a report

    according to steps above.

    File - 7

  • 8/16/2019 Report Designer 50 Guide Eng

    30/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2reating Report *orm

    2reate ob=ects > )e8t *rameA )able

    )e8t *rame

    1. Select an ob=ect to insert

    Steps o Inserting Ob%ect

    &. 2reate b 2lic9 Drag

    )able

    File - 8

  • 8/16/2019 Report Designer 50 Guide Eng

    31/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2reating Report *orm

    ?nput te8t > )itleA Ceader

    1. Place a cursor w/ere  ou want to tpe in

    Input Text

    &. )pe ?n

    )itle

    Ceader

    File - 9

    ?f a cursor is in Selection6

    modeA onl an ob=ect will

    be selected.

    2/ange to )e8t *rame6

    mode or simpl double

    clic9 on a place w/ere ou

    want to tpe in to

    enter te8t correctl.

  • 8/16/2019 Report Designer 50 Guide Eng

    32/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Drawing Report *orm

    %dit *orm

    $iddle lignment

    2enter lignment

    Select $ultiple b=ect b

    S/ift ; $ouse 2lic9

    *ont )pe

    *ont SiEe ?n )e8t *rame6 modeA bloc9

    areas b dragging a mouse

    and edit t/e w/ole bloc9ed

    area simultaneousl.

    Selection $ode

    $iddle lignment b Page

    File - 10

  • 8/16/2019 Report Designer 50 Guide Eng

    33/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Drawing Report *orm

    %dit *orm

    Ceader of a )able

    Report Type & Table

    utomatic Repetition Row

    according to data

    ' (eaer Section

    ' Repetition Section

    Blue ine 4 bove > Ceader Section

      Below > Repetition Section

    Data can be displaed in an

    sectionA Ceader or Repetition

    Section

    File - 11

  • 8/16/2019 Report Designer 50 Guide Eng

    34/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    Select *ile 2onnection6 from $enu Bar

    File - 12

  • 8/16/2019 Report Designer 50 Guide Eng

    35/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    %nter a pat/ of a data file to be loaded

    1. ocal .t8t file &. *)P Server .t8t file @. eb Server .=sp file

    File - 13

  • 8/16/2019 Report Designer 50 Guide Eng

    36/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    Data *ile

    *ield Delimiter

    *ield1 *ield& *ield@K

    )/is Data *ile is composed of 5 *ieldsA

    L6 is used as field delimiter.

    *ield Delimiter can be set b users.

    *ields of Data *ile are t/e same as

    2olumns of Database.

    Result Set of MSPA SP s/ould be same

    as above data file format w/en a

    web browser source is viewed

    File - 14

    D * /

  • 8/16/2019 Report Designer 50 Guide Eng

    37/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    *ield Definition 1

    1. Select *ield Definition6 )ab &. )pe in *ield delimiter6 and clic9 dd @. %dit *ield Definition

    F. 2ompleted *ield Definition%dit *ield 3ame6A *ield )pe6A engt/6

    ')o use a data fileA repeat above field definition steps foreac/ fields.

    '*ield 3ames are t/e same as t/e name of columns indatabase.

    File - 15

    D t * t /

  • 8/16/2019 Report Designer 50 Guide Eng

    38/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Data *etc/

    1. Select *ield Definition6 )ab

    &. 2reate fields according to

    number of fields in a data file @. %dit *ield Definition

    fter setting *ield Delimiter6A set

    a 3umber of 2olumn6 according

    to t/e number of fields in data files

    and clic9 field definition edit window.

    File - 16

    *ield Definition &

    2 t D t t t/ *

  • 8/16/2019 Report Designer 50 Guide Eng

    39/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2onnect Data to t/e *orm

    Select 2onnect to Dataset6 from $enu Bar

    File - 17

    2 t D t t t/ *

  • 8/16/2019 Report Designer 50 Guide Eng

    40/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2onnect Data to t/e *orm

    2onnect to Dataset Dialog Bo8

    *ield 3ames from

    *ield Definition6

    is s/own /ere.

    *etc/ed Data *ield Report *orm

    astl connect dataset to t/e form.

    Cere is /ow to do K

    File - 18

    2 t D t t t/ *

  • 8/16/2019 Report Designer 50 Guide Eng

    41/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    2onnect Data to t/e *orm

    2onnect Data to t/e *orm > & met/ods to connect

    File - 19

    1. Select a bloc9 to connect a data

    @. Select a ne8t bloc9 toconnect a data

    &. Select a field name

    from t/e field list

    @. 2lic9 ppl6 Button

    (1st method)

    (2nd method)

    *i l * B i

  • 8/16/2019 Report Designer 50 Guide Eng

    42/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *inal *orm - Basic

    *inal *orm

    Run Jiewer

    File - 20

    Jie er Res lt

  • 8/16/2019 Report Designer 50 Guide Eng

    43/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Jiewer Result

    Result at Jiewer

    File - 21

  • 8/16/2019 Report Designer 50 Guide Eng

    44/93

     

    M2Soft Co. Ltd.

    How to make a report using

    ‘Report Designer’

    - Part @. %diting t/e report created

    Definition of Sample Report

  • 8/16/2019 Report Designer 50 Guide Eng

    45/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Definition of Sample Report

    General view of sample report.

    Report Designer F.0

    Report Designer Version

    indows !5 " !# " $% " &000 " 'P

    System OS

    (ser Define

    File Defnition

    )able *orm

    Form type

    %dit t/e list form using functions and menu

    Form to create

    (se *orm *ile created in Part1 Part& ,using DatabaseA Data StreamA '$ *ile

    Sample Form

    BASIC - 2

    Please refer to t/e $anual for more details.

    %dit *orm

  • 8/16/2019 Report Designer 50 Guide Eng

    46/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    %dit *orm

    Data editing and Print editing

    Perform sub sum" group sum" total sum b using a summar functions to Data Source

    Data eiting

    2onditional print controlA 2ell merge controlA s/ow empt form wit/out dataA etc.

    )rint eiting

    )o edit in Report Designer

    1. (se is as ou would in ord Processor

    &. (se it as ou would in %8cel

    (ser friendl G(? of Report Designer ma9es it easier to call met/ods and functions

    (o* to eit a orm in Report Designer

    BASIC - 3

    (sing function

  • 8/16/2019 Report Designer 50 Guide Eng

    47/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    (sing function

    dd *unctions to t/e form created b previous steps

    Print repetition data

    - (se onl one

    - $erge cells

    - sum b date,b customer"productA sum b pageA total sum

    - Page Brea9 b specific condition , b SaleDate

    Preparing summar 4

     amount :Sale

  • 8/16/2019 Report Designer 50 Guide Eng

    48/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction 1 > Data peration

    peration Salemount,Sale after locate Sale after selecting repetition of rowA in connect to dataset6 dialog bo8

      clic9 summar6 c/ec9 bo8 to enable preparing summar6 tab

    ?nsert rig/t side

    Summar

    BASIC - 5

    *unction 1 Data peration

  • 8/16/2019 Report Designer 50 Guide Eng

    49/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction 1 > Data peration

    peration Salemount,Sale clic9 appl6 or N6 button after entering

    Sale

  • 8/16/2019 Report Designer 50 Guide Eng

    50/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction 1 > Data peration

    peration Salemount,Sale result

    Data b produced from preparing summar6 section

    3e8t practice4

    Cow to c/ange font attribute

    and color b condition

    ,w/en Salemount 100

    BASIC - 7

    *unction & > (sing preparing summar6

  • 8/16/2019 Report Designer 50 Guide Eng

    51/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction & > (sing preparing summar

    Set print attributes b Sale mount 1

    Possible to c/ange print attribute b using iif,A c/angerowattr, in summar funtions

    ?if,DaSale.Sale (sing preparing summar6

  • 8/16/2019 Report Designer 50 Guide Eng

    52/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction & > (sing preparing summar

    Set print attributes b Sale mount & - Result

    ?f

  • 8/16/2019 Report Designer 50 Guide Eng

    53/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction @ > subsum"total sum b preparing summar

    Sub sum"total sum > sum b date 1

    /en editing group sum" total sumA use summar section.1. $ove cursor to repetition part and add summar section b add summar section6

    BASIC - 10

    *unction @ > subsum"total sum b preparing summar6

  • 8/16/2019 Report Designer 50 Guide Eng

    54/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction @ subsum"total sum b preparing summar

    Sub sum"total sum > sum b date &

    &. preparing summar > set operation to get total sum b sum, in preparing summar

    @. summar condition > select b SaleDate condition in b field values6

    sum,SaleQuantity * SaleAmount

    BASIC - 11

    *unction @ > subsum"total sum b preparing summar6

  • 8/16/2019 Report Designer 50 Guide Eng

    55/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction @ subsum"total sum b preparing summar

    Sub sum"total sum > sum b date - Result

    Sum b SaleDate

    3e8t practice4

    Cow to s/ow sum b page

    and total sum

    BASIC - 12

    *unction @ > subsum"total sum b preparing summar6

  • 8/16/2019 Report Designer 50 Guide Eng

    56/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction @ subsum"total sum b preparing summar

    Sub sum " total sum > Result sum b page and total sum

    ?t is eas to add in a row to calculate sum b page and total sumAb adding a new summar section6 for eac/ condition ou want to perform

    Preparing summar1 > sum b SaleDate

      ,b field values > SaleDate

    Preparing summar& > sum b page

      ,b condirion > insert ever page

    Preparing summar@ > )otal sum

      ,b condition > insert t/e last page

    BASIC - 13

    *unction @ > subsum"total sum b preparing summar6

  • 8/16/2019 Report Designer 50 Guide Eng

    57/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unction @ subsum"total sum b preparing summar

    Sub sum " total sum > Result of sum b page and total sum

    1st page • • •

     • • • t/e last page

    Sum b

    SaleDate

    Sum b page

    )otal sum

    BASIC - 14

    *unctionF > )e8t format

  • 8/16/2019 Report Designer 50 Guide Eng

    58/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unctionF )e8t format

    )e8t in sum"total sum 1

    )o add in a title te8t for eac/ row

    1. Select cells b 2lic9 DragA and clic9 merge cells6 from table edition bar.

      &. )pe in )otal Sum and Sub Sum6 as s/own below.

    $erge cells

    BASIC - 15

    *unctionF > )e8t format

  • 8/16/2019 Report Designer 50 Guide Eng

    59/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unctionF )e8t format

    )e8t in sum"total sum &

    Iou can set non-fi8ed te8t in sum b SaleDate row.

    1. 2onnect SaleDate dataset in a cell to s/ow date

    &. select lignment-)e8t format6 from menu tool bar

    BASIC - 16

    *unctionF > )e8t format

  • 8/16/2019 Report Designer 50 Guide Eng

    60/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    *unctionF )e8t format

    )e8t in sum"total sum @

    @. select te8t format in t/e te8t format dialog bo8

      lso custom setting of te8t format is possible b enter in additional te8t to t/e te8t bo8

    BASIC - 17

    )e8t format

    %dition

    *unctionF > )e8t format

  • 8/16/2019 Report Designer 50 Guide Eng

    61/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    u ct o e t o at

    )e8t in sum"total sum - Result

     • • • pages • • •

     • • • t/e last page

    Cow to print onl one record

    BASIC - 18

    1st page • • •

    *untion5 > operation repetition data

  • 8/16/2019 Report Designer 50 Guide Eng

    62/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    p p

    %diting repetition of data > merge cell6 " use onl once6

    1. fter selecting dataset connectionA select cell ou want to edit

    &. Select eit/er merge cell6 or use onl once6 c/ec9bo8

    BASIC - 19

    *untion5 > operation repetition data

  • 8/16/2019 Report Designer 50 Guide Eng

    63/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    p p

    %diting repetition of data > Result of using $erge cell6

    3e8t practice4

    Cow to brea9 page b a specific

    condition

    BASIC - 20

    *unction - 2onditional Page Brea9

  • 8/16/2019 Report Designer 50 Guide Eng

    64/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    g

    )o brea9 page b a specific condition

    1. lignment > select page brea9 condition

    &. Select a *ield to use for page brea9 > t/e field s/ould alread aligned ,rder b

    BASIC - 21

    *untion - 2onditional Page Brea9

  • 8/16/2019 Report Designer 50 Guide Eng

    65/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    g

    )o brea9 page b specification condition - Result

    1st page

    &nd page @rd page • • •

    Cow to set t/e siEe of a table same in eac/ page

    BASIC - 22

    *unctionT > Set )able ttribute

  • 8/16/2019 Report Designer 50 Guide Eng

    66/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Set )able ttribute

    )able-Set )able ttribute6 can give options to number of repetition b page ,control number of Record b pageA

    2ross-tabA table as multi level A draw blan9s.

    BASIC - 23

    *unctionT - Set )able ttribute

  • 8/16/2019 Report Designer 50 Guide Eng

    67/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Set )able ttribute

    1. S/ow onl 15 Records in a page b selecting 15 in 3umber of repetition6

    &. Draw blan9 table at t/e bottomA instead of empt space w/en number of record is less t/an 15b using Draw blan9s6 option

    BASIC - 24

    *unctionT - Set )able ttribute

  • 8/16/2019 Report Designer 50 Guide Eng

    68/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Set )able ttribute - Result

    1st page

    &nd page • • •

     • • • last page

    Cow to print sum at t/e bottom of t/e table

    BASIC - 25

    *untion# - Detail option of summar section

  • 8/16/2019 Report Designer 50 Guide Eng

    69/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    ?nserting a sum after blan9s

    )o set summar section appear at t/e bottom of tableA

    c/ec9 insert summar after blan9s6 in eac/ summar section.

    BASIC - 26

    *untion# - Detail option of summar section

  • 8/16/2019 Report Designer 50 Guide Eng

    70/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    ?nserting a sum after blan9s - Result

    1st page

    @rd page • • •

     • • • last page

    BASIC - 27

    Summar > *orm %diting

  • 8/16/2019 Report Designer 50 Guide Eng

    71/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Cow to edit a form wit/ Report Designer

    or9s fine as long as S

  • 8/16/2019 Report Designer 50 Guide Eng

    72/93

     

    M2Soft Co. Ltd.

    How to create a Report using

    ‘Report Designer’

    -Part F. perating Report Designer wit/ eb

    *orm *ile

  • 8/16/2019 Report Designer 50 Guide Eng

    73/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Developer creates a form file b Report Designer %ditor

    )/e following report is created b c/oosing database6 as a report creating met/od and default6

    as a report decorating met/od. *orm files w/ic/ created b Report Designer would /ave OmrdQ as an e8tension.

    *or web reportingA form developer first needs to create a mrd file t/en upload it to t/e server ,S via *)P.

    )/e mrd file would be called via (R on t/e web.

    !e" - 2

    Preview

  • 8/16/2019 Report Designer 50 Guide Eng

    74/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Resulted report b pressing ORun JiewerQ menu from editor

    ,Screen result b running rdviewer.e8e

    )/e following is a screen s/otA running mrd on rdviewer.e8e. Iou can get t/e same result on t/e webA

    onl running on active' control instead of rdviewer.e8e is different.

    !e" - 3

    Sstem rc/itecture

  • 8/16/2019 Report Designer 50 Guide Eng

    75/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Sstem rc/itecture of Report Designer for eb Reporting

    !e" - 4

    eb Reporting - Sample Source 1

  • 8/16/2019 Report Designer 50 Guide Eng

    76/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Basic - Definitions

    Web reporting means showing the produced final report as it is embedded in web browser (IE)

    using Report Designer ActiveX control (OX)! ("lug#in $t%le)

    Report Designer ActiveX is defined in an ob&ect tag of web source!Report Designer ActiveX provides about ' A"Is and %ou ma% use them b% writing %ou own

    codes in ava$cript or *+ $cript!

    Web reporting is defined b% ,-ileOpen. method and the method ta/es a mrd file path value and

    parameter values of user in0uir% conditions as its arguments!

    Default output form si1e is auto#ad&usted according to the si1e of Report Designer ActiveX

    control within a web browser!

    !e" - 5

    eb Reporting - Sample Source 1

  • 8/16/2019 Report Designer 50 Guide Eng

    77/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Basic - C)$ Source

     "" 2alls mrd file via *ilepen6 function

     "" uto-installation"auto-upgrade is supported

     "" RD 2'

     "" Definitions

    !e" - 6

    eb Reporting - Sample Source 1

  • 8/16/2019 Report Designer 50 Guide Eng

    78/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Basic > utput Screen

    !e" - 7

    eb Reporting - Sample Source &

  • 8/16/2019 Report Designer 50 Guide Eng

    79/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    dvanced 1 - Definitions

    Improving the loo/ and feel of the final output screen provided to end users can be done b%

    some of properties and methods provided b% Report Designer ActiveX!

    !e" - 8

    eb Reporting - Sample Source &

  • 8/16/2019 Report Designer 50 Guide Eng

    80/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    dvanced 1 - C)$ Source

     "" 2ancel t/e auto-ad=ustment

     "" 2onfigure t/e output screen ratio as t/e same as t/e original paper siEe "" Set t/e RD 2' bac9ground color as w/ite

     "" Cide t/e RD 2' bottom status bar

     "" additions

    !e" - 9

    eb Reporting - Sample Source &

  • 8/16/2019 Report Designer 50 Guide Eng

    81/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    dvanced 1 > utput Screen

    !e" - 10

    eb Reporting - Sample Source @

  • 8/16/2019 Report Designer 50 Guide Eng

    82/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    dvanced & - Definitions

    $ince the top toolbar of Report Designer ActiveX is a bit crude2 %ou can hide it and put nicel%

    designed customi1ed menu button images to reshape the loo/ and feel of the toolbar!

    !e" - 11

    eb Reporting - Sample Source @

  • 8/16/2019 Report Designer 50 Guide Eng

    83/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    dvanced & - C)$ Source 1 ,Some parts are omitted

     "" %ac/ image calls a necessar function b on2lic9 event

     "" rganiEe

     "" components of

     "" menu to

    replace "" t/e

    original RD

     "" 2' toolbar

    !e" - 12

    eb Reporting - Sample Source @

  • 8/16/2019 Report Designer 50 Guide Eng

    84/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    dvanced & - C)$ Source & ,Some parts are omitted

     "" function w/ic/ would be called b clic9ing on a specific menu image

     "" from t/e newl organiEed menu bar from t/e previous pageA recalls t/e

     "" met/od provided b RD 2'.

     "" ?t6s possible to call RD 2' met/od directl w/en an image is clic9ed.

     "" Cide t/e top toolbar of RD 2' from screen

    !e" - 13

    eb Reporting - Sample Source @

  • 8/16/2019 Report Designer 50 Guide Eng

    85/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    utput Screen of C)$ Source @

    !e" - 14

    eb Reporting - Parameter Deliver

  • 8/16/2019 Report Designer 50 Guide Eng

    86/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Parameter Delivering $et/od > B "rp

    ,2lassifies t/e values of parameters b t/e delivered order

    3ou ma% give various values of parameters as a second argument to the -ileOpen method for

    such as user in0uir% values2 printing options or database information!3ou can use appro4imatel% 5 t%pes of inner classification parameters provided b% Report

    Designer to classif% the values of parameters with different properties! 3ou can use them in

    con&unction with others! (Refer to the manual or help for the details of inner classification

    parameters)

    6he following 7 samples demonstrates the two wa%s of passing user in0uir% values to the inner

    0uer% of mrd!

      # 8rp 9 maps the values of parameters passed b% a 8rp classification parameter according to the

    delivering order 

      # 8rv 9 maps the names of inner defined variables with the names of parameters passed b% a 8rv

    classification parameter 

     "" Delivers t/e parameters as a second argument

     "" to t/e *ilepen $et/od

    !e" - 15

    eb Reporting - Parameter Deliver 1

  • 8/16/2019 Report Designer 50 Guide Eng

    87/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Parameter Deliver ,B "rp >

  • 8/16/2019 Report Designer 50 Guide Eng

    88/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Parameter Deliver ,B "rp - %B Source

     "" U1 U& ...

    !e" - 17

    eb Reporting - Parameter Deliver &

  • 8/16/2019 Report Designer 50 Guide Eng

    89/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Parameter Deliver & ,B "rv >

  • 8/16/2019 Report Designer 50 Guide Eng

    90/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Parameter Deliver & ,B "rv - %B Source

     "" $aps wit/ t/e names of variables used in t/e Vuer definition

    !e" - 19

    pplied 2ases

  • 8/16/2019 Report Designer 50 Guide Eng

    91/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    pplied Screen on %B

    C)$ wit/ an 2' viewer

    attac/ed as a frame

    !e" - 20

    pplied 2ases

  • 8/16/2019 Report Designer 50 Guide Eng

    92/93

     

    Copyright ⓒ 2005 by M2Soft Co., Ltd. All rights reserved.

    Source 2ode ,MSP

    !e" - 21

    $emo

  • 8/16/2019 Report Designer 50 Guide Eng

    93/93

    $emo