Solved

Rave Reports Landscape and SQL Parameters

Posted on 2006-07-12
2
1,725 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now