Solved

Rave Reports Landscape and SQL Parameters

Posted on 2006-07-12
2
1,758 Views
Last Modified: 2010-07-27
Hi,

I'm new to Rave Reports thought I'd try it after using Quick Reports. I'm using Delphi 7.
I'm trying to write a report which I can design in landscape and will also default to landscape orientation when printing.
Have troubles doing this in Rave. Any ideas?

Also I need to place a parameter in my user defined query for the report.

i.e select * from customers where code = :custcode

How is this done in Rave?
I need to assign the parameter from the Delphi application.

Cheers
Nathan

PS Please don't point me to the tutorials on Borland or DelphiAbout.com I've read them and while they are good they don't address my specific issues.
0
Comment
Question by:nathc100
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
jpedef earned 250 total points
ID: 17098588
Set to landscape:
1. Open report.
2. Select Page component
3. Set page componets orientation property to poLandScape

I prefer not to send any sql queries to rave. Instead I add TRvDataSetConnection to my form then link it to my dataset by its dataset property.
Then from rave designer I add DirectDataView component to project.

Steps
1. Add TRvDataSetConnection to your form and name it to MyRaveConnection
2. Link it to your dataset.
3. Open your dataset.
4. Goto rave designer and click "New data object" button
5. Select DirectDataView
5. Select MyRaveConnection from list and click ok.

Btw. Have you checked Nevrona rave tips http://www.nevrona.com/Default.aspx?tabid=53
0
 

Author Comment

by:nathc100
ID: 17113079
Thanks worked like a charm :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question