|
-
Dec 4th, 2008, 05:50 AM
#1
Thread Starter
Junior Member
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......
-
Dec 5th, 2008, 10:45 AM
#2
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)
-
Dec 5th, 2008, 11:04 PM
#3
Thread Starter
Junior Member
Re: How to set Landscape on data reports, and Grouping Reports
I will try it ........... thanks
-
Dec 15th, 2008, 02:23 AM
#4
Thread Starter
Junior Member
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
-
Dec 15th, 2008, 02:29 AM
#5
Re: How to set Landscape on data reports, and Grouping Reports
Have you tried it like this?
Code:
drBilling.Orientation = rptOrientLandscape
-
Dec 19th, 2008, 12:22 AM
#6
Thread Starter
Junior Member
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 ?
-
Dec 20th, 2008, 09:37 AM
#7
Re: How to set Landscape on data reports, and Grouping Reports
I think you need to install the VB6.0 Service Packs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|