Solved

Rave Reports Landscape and SQL Parameters

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

15 Experts available now in Live!

Get 1:1 Help Now