Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Rave Reports Landscape and SQL Parameters

Posted on 2006-07-12
2
Medium Priority
?
1,808 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 1000 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

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…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

610 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