Results 1 to 7 of 7

Thread: How to set Landscape on data reports, and Grouping Reports

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    18

    Smile How to set Landscape on data reports, and Grouping Reports

    dear all VB-Lovers..... I'm in working with data reports.... but I can not set Landscape orientation...... on portrait..... do you know how to set orientation into landscape........? and how to set datareports with grouping or sorting as header on reports.....? thank You for all of your advices....and willingness for help......

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: How to set Landscape on data reports, and Grouping Reports

    If your version of the DataReport does not have an Orientation property you need to install a VB Service Pack. Download the latest (sp6) from Microsoft.

    In order to use Grouping in DataReports its Datasource must be a Hierarchical Recordset. Hierarchical Recordsets are created using the MSDataShape Provider and ADO Shape Commands

    SHAPE {select CustomerId, CompanyName from customers}
    APPEND ({select * from orders} AS rsOrders
    RELATE customerid TO customerid)

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    18

    Re: How to set Landscape on data reports, and Grouping Reports

    I will try it ........... thanks

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    18

    Re: How to set Landscape on data reports, and Grouping Reports

    to : brucevde

    I've loaded my vb with sp6... but i can't got landscape orientation as default.....about grouping that you told me ... I've tried it and it's work.......
    thanks man........ oh ya btw anybody who have source code to set printer device setting ? if there is ..... please inform me....I need it... thanks

  5. #5
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: How to set Landscape on data reports, and Grouping Reports

    Have you tried it like this?

    Code:
    drBilling.Orientation = rptOrientLandscape
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    18

    Re: How to set Landscape on data reports, and Grouping Reports

    to dee-U I'd tried but... the syntax didn't recognized....... is there any component addition we have to added ?

  7. #7
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: How to set Landscape on data reports, and Grouping Reports

    I think you need to install the VB6.0 Service Packs.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width