BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PositionMode/PositionValue Question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (RaveReports)
View previous topic :: View next topic  
Author Message
GM
Guest





PostPosted: Wed Sep 14, 2005 12:01 pm    Post subject: PositionMode/PositionValue Question Reply with quote



I'm using Delphi V7.0 Pro for my application. In my rave report, I have a
DataBand defined using the PositionMode set to pmOffset. I would like to
control/change the PositionValue for the pmOffset from my application. Is
there any method to pass a value, say 0.5, to the PositionValue in my rave
report? Any help would be greatly appreciated.

Greg


Back to top
Nevrona Support
Guest





PostPosted: Wed Sep 14, 2005 10:35 pm    Post subject: Re: PositionMode/PositionValue Question Reply with quote



Hi Greg,

Quote:
I'm using Delphi V7.0 Pro for my application.

Please include your Rave version in EACH future message (check Rave Help About). It would help us provide a better answer.

Quote:
In my rave report, I have a DataBand defined using the PositionMode set to pmOffset. I would like to control/change the PositionValue for the pmOffset from my application. Is there any method to pass a value, say 0.5, to the PositionValue in my rave report? Any help would be greatly appreciated.

Not sure what version of Rave you have, but I just tested this with Rave BEX version 5.1.4 and it worked. I went to a Band that "printed" before the DataBand I wanted to control and created a OnBeforePrint event. In that event I put:

DataBand1.PositionValue := 1.0;

Compiled it. Saved it. And when I ran it, there definitely was a "large" area ahead of the DataBand. I do not know if that will work with Rave BE 5.0.8, as that was an early release of the scripting engine which has been significantly improved since then.

Technical Support
[email]support (AT) nevrona (DOT) com[/email]

Back to top
GM
Guest





PostPosted: Thu Sep 15, 2005 11:57 am    Post subject: Re: PositionMode/PositionValue Question Reply with quote



Thanks for the initial help. I have Rave 5.0, build 5.01. I don't have an
OnBeforePrint in the event list for my RvProject1. I do have an
OnBeforePrint in my RvSystem1 which is tied to my RvProject1.
Unfortunately, the compiler didn't recognize the DataBand1 component. Do
you have any other ideas? Again, I do appreciate your response.

Greg


Back to top
Nevrona Support
Guest





PostPosted: Thu Sep 15, 2005 10:57 pm    Post subject: Re: PositionMode/PositionValue Question Reply with quote

Hi Greg,

Quote:
I have Rave 5.0, build 5.01.

Please include your Rave version in EACH future message (check Rave Help About). It would help us provide a better answer. If you have not yet updated your Rave 5 BE (Borland Edition) to 5.0.8 from Borland, then I would suggest that you go to the link below for the latest information on we have on where Borland keeps that update.

Please look at http://www.nevrona.com/Default.aspx?tabid=178 for information about using and updating Rave. At this link, you will also find many references, articles and general information about using Rave. Be sure to look at the bottom part of that page as it applies to all Rave users.

Quote:
I don't have an OnBeforePrint in the event list for my RvProject1. I do have an OnBeforePrint in my RvSystem1 which is tied to my RvProject1. Unfortunately, the compiler didn't recognize the DataBand1 component. Do you have any other ideas? Again, I do appreciate your response.

Make sure you have updated to the latest version. For Rave 5 BE (Borland Edition) bundled with Delphi 7, that would be 5.0.8. Once you have 5.0.8 loaded, then see if you can do those steps. Again, that was early in the release cycle (almost 3 years ago now) for the scripting engine and it has been significantly improved since then. The only other thing I could think of to suggest is to make the height of the band above the DataBand larger (maybe a header band?) and not worry about playing with the DataBand position at all.

Technical Support
[email]support (AT) nevrona (DOT) com[/email]

Back to top
GM
Guest





PostPosted: Fri Sep 16, 2005 4:41 pm    Post subject: Re: PositionMode/PositionValue Question Reply with quote

Thanks for the feedback. I've found the 5.08 update and have it downloaded.
I'll install it when I get back to the office (I need my original Delphi
installation disk). I'll then give you first suggestion another try. With
luck, it will work, otherwise it will be time for a workaround solution.

Greg


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (RaveReports) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.