TppDBPipeline - Setting values at runtime
I need to set the RangeBegin and RangeCount of a pipeline at rentime. I
know the value should be of type TppRangeBeginType and TppRangeEndType but I
can't get the syntax right.
MyPipeline.RangeBegin := rbCurrentRecord;
MyPipeline.RangeEnd := reCurrentRecord;
I know this is not right. I can't find an example of this in your demo's.
Can you give me the correct syntax with the definitions of the type or what
units I need to include. It would also be nice to have a demo that sets all
the properties of the different compoenets with code so we could have
example of them for when I forget simple stuff like this.
Delphi 7 ReportBuilder Professional 9.03.
We have been using RB since 1997, I think, we enjoy working with your
product and always receive the highest complements on our applications
reports. Thanks for a great tool and keep up the work
Ray Long
www.mandatasys.com
know the value should be of type TppRangeBeginType and TppRangeEndType but I
can't get the syntax right.
MyPipeline.RangeBegin := rbCurrentRecord;
MyPipeline.RangeEnd := reCurrentRecord;
I know this is not right. I can't find an example of this in your demo's.
Can you give me the correct syntax with the definitions of the type or what
units I need to include. It would also be nice to have a demo that sets all
the properties of the different compoenets with code so we could have
example of them for when I forget simple stuff like this.
Delphi 7 ReportBuilder Professional 9.03.
We have been using RB since 1997, I think, we enjoy working with your
product and always receive the highest complements on our applications
reports. Thanks for a great tool and keep up the work
Ray Long
www.mandatasys.com
This discussion has been closed.
Comments
Your code below is correct. Be sure you are including the ppTypes unit in
your uses clause so Delphi will recognize these enumerated types.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I had the EXACT same issue but found the necessity of adding ppTypes to the
uses clause in a post from a while ago. I'm still using RB7x so I
don't know if the help file has been changed, but I would suggest
adding a note to the help file when you F1 in the BeginRange/EndRange
field in the Inspector. It would end a little bit of frustration in an
instance like Ray and I encountered.
Other than that, I have to admit I find doing increasingly more difficult things
in RB increasingly easier. ReportBuilder truly is a great product,
even good enough for me not to have to upgrade to v10 [G].
GM
On Thu, 20 Apr 2006 09:29:33 -0400, "Ray Long"