digitalmetaphors
Comments
-
You should skip trying to get it in the OnNew event, but rather try to
leverage the OnLoadEnd and OnSaveStart events. You don't need the stream,
just let RB handle that. I was thinking that you had extra info from your
app, in a Delph… -
In the end user project, in the Report.Template.OnSaveStart event, check the
rbItem dataset's field value for 'ItemID' to get the current record. For a
new report use the Report.Template.OnNew event if you want to check it in
that ev… -
The Report.Template is a Delphi object. You can use it to save to database
or file using its interface. When you call Report.Template.SaveToDatabase,
it will try to stream the report template to the database using the
DataSettings you… -
Sorry, ReportBuilder doesn't natively support MBCS. Try changing the
datatype for the report name in the database table definition to support a
multi byte character as you are getting an Oracle database error.
Cheers,
Thankyou for sharing. Please send attachments to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
If you don't have an ODAC DADE plugin already, then try using DOA as there
is a DADE plugin that is popular amongst the Oracle and RB customers. Check
out daDBBDE.pas for an example of the simplest DADE plugin (the BDE one).
If you are using a DADE plugin at runtime, you'll want to use this at Delphi
design time as well. So, you'll have to create a Delphi design time package
that you install into Delphi. This will register the session class and you
will t…This is all we have right now:
http://www.digital-metaphors.com/subpages/friends/languages_content.html
You'll have to use the stri…When the user presses the new report button in the report explorer, you'll
have to listen for this in the Report.Template.OnNew event. No new record is
created on the database until the user tries to save the report to the
database. P…Sounds like you need to only print the names based on the last date when
there is a match on data between two names. In your example, the 07May01
records for Barney and Fred never print. In SQL, you would have to be able
to select dis…I took 4.5 years of French around my high school days and talked to a French
foreign exchange student in my CS classes in college, but my French is still
pretty weak:) So, I used an online translator for my previous response.
I'll con…It looks like it isn't translated when I look in the database for the string
translation app for French. What should it be? Revenez ? la zone de travail
de donn?es?
Cheers,
Jim Bennett
Digital Metaphors
TppDesigner.OnCustomSaveDoc is the event to use to control the saving
process of a report.
Cheers,
Jim Bennett
Digital Metaphors
You can search on Name, ItemType and CurrentFolderID. Reference the
ReportExplorer's properties for the currently selected folder:
property CurrentItemName: String read FCurrentItemName write
FCurrentItemName;
property Curr…Here is a template I created using our Report Explorer demo. It has RAP code
that the end user can call which displays their end user created DADE
dataview with autosearch criteria:
in Another question about AutoSearch fields Comment by digitalmetaphors June 2003You can just call ppGetUniqueName in ppUtils.pas. Pass the form, any string
prefix you want, ie. 'my' and finally pass the component reference.
Cheers,
Jim Bennett
Digital Metaphors
Give it a unique name before assiging the parent property. Then it will
work.The data module is owned by the form, and the dataviews are owned by
the form, so they will be freed when the form is freed, unless you free them
manually. …If there are stretchable controls in a detail band, then the detail band
will be dynamic height. If you have static height controls only in the
detail band, then you should be able to specify the height of the detail
band when it is s…Regions are useful in this case. Regions can contain other components, much
like you would use a TPanel in a delphi form. So, the Region can Stretch and
ShiftRelativeTo (only to other stretchables, namely regions in this case).
What I…Do you mean create a selection in the design tab, then go to the preview tab
and drop the components? If you want to implement this, you probably want to
modify the source to our designer and it would not be easy because RB works
with…You can create a custom rich text editor. All forms in RB are replacable.
See the ppRichEd.pas file for an example of creating a rich text editor
form. The bottom of this unit has a registration call you can make. Copy
this unit and r…You could still use a JIT, just use a line of RAP code to get the value from
the JIT and stick it in a TppLabel, which doesn't participate in the
previous noisy notification like Variables and dbTexts do.
Cheers,
I created an example and yes,this does fire a lot. There is no optimization
in RB not to fire this event handler. What is happening is that the report
engine is telling all the components that a traversal has occured. This is
mainly f…Make sure that the Report.PassSetting is set tp psOnePass. It sounds as if
what is happening is that you are using a two pass report, so it makes a
pass through the data paginating the report in the first pass before the
first page is…The easiest way to do this is to provide this data through a JITPipeline.
Then your user doesn't need RAP code for this, they just need to select the
JITPipeline and connect it to DBTexts in the header. Make the JITPipeline a
one reco…You can use RAP to access parameters as an end user. There is no end user UI
to set them. You can always show your own custom dialog from RAP called from
a RAP pass through function. There are examples of creating RAP pass through
fun…When you create the dataview, and exit the query designer, the SQL should be
valid. If you don't preview the dataview, but directly go to the SQL tab of
the query designer, and copy this SQL into the TOEQuery, that works but a
preview…ReportBuilder Professional and Enterprise come with a TppDesigner component
that can be used at runtime to design reports. This is for your end users,
but you as a developer should use it as well to design end user reports.
DADE allow…Sorry I misunderstood. I thought you meant that you upgraded from Pro.
In RB Pro, use autosearch to allow the end user to define search parameters
on the data in order to filter the datasets automatically. When you create a
data…Are you using the Server Edition? There should be help files on using
Parameters as well as examples in the installation demos folder for the
RBServer.
If you are using Enterprise, what are you trying to do exactly? Have you