digitalmetaphors
Comments
-
If you don't change the pipeline username and visibility then do you get a
multiple listing of the pipelines? Can you reproduce the problem without
runtime packages? Can you send us a simple example we can run which shows
the proble… -
Can you test with another device, such as the report emulation text file
device? RB 6.02 is quite old, you can try using RB 7. There is a patch for
RB 7 which addresses an issue with very large words in a wrapping memo
causing this. … -
Hi Bill,
Please take a look at the ReportBuilder Developer's Guide as there are
tutorials on creating master detail reports to get you started. There is a
PDF located in your RBuilder installation directory. The key is to use
You do not mention which version of RB you are using and whether or not you
are using DADE to create these queries or if you are using queries on a
form/datamodule. It looks like you are using DADE because the detail query
is not para…If you want to use DADE to connect via dbExpress to your database, then
you'll want to examine the end user example in the installed
RBuilder\Demos\EndUserDatabases\Interbase\DBExpress directory. There is a
DADE plugin which is insta…You need to set AutoCreateFields to false after you setup the pipeline on
the form with your field aliases. The reason is that the pipeline will
recreate the fields at runtime in the end user environment, thus clearing
your aliases yo…Yes, you should be able to use DB2 and RB together. You can use any proper
TDataset descendent with RB's pipeline architecture:
TDataset -> TDataSource -> TppDBPipeline -> TppReport
Cheers,
Jim B…Hi Bob, I ran the demo and I forgot how slow Delphi query linking really
was. To me, the manual linking demo is too slow and Delphi query parameter
linking should not be used. I reread your initial post and your goal is to
have fast d…One of the main reasons for two pass is that when the first page is
generated in the second pass, the entire page count is known. Observe a page
set system variable in a two pass report. It will have Page 1 of 45 on the
first page of …You can do this as shown in the demo:
procedure TfrmManualMasterDetail.ppDetailBand1BeforePrint(Sender: TObject);
begin
qryDetail.Close;
qryDetail.Params[0].AsFloat := qryMaster.FieldByName('CustNo').AsFloat;
qry…Here is the unit which can be added to your project to perform this
functionality:
unit myCloseButtonPreviewPlugIn;
interface
uses
Buttons,
ppPreview;
type
TmyPreviewPlugIn …You can download it here:
http://www.digital-metaphors.com/tips/HidePrintButtonPlugin.zip
Cheers,
Jim Bennett
Di…Yes, all you need to do is create your own preview plugin. I am sending you
a delphi project which does this, via the email address you sent to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Met…This also means that every property you want to surface has to have RAP RTTI
built for it. Most of the properties in TCanvas also rely on enumerated
types, which need to be supported. From the surface, it may not appear to
be much, b…Yes, you need to surface the class TCanvas and the properties you want to
use in RAP. The RAP tutorials show how to surface the TDatabase class.
Essentially, you'll need to take the same approach and create
TmyTCanvasRTTI = class (Tr…You can use cusotm dataview templates and DADE without showing your users
the Data tab. Simply remove daIDE from your uses clause and your users won;t
see DADE, but they will be able to use the data pipelines that are created
in DADE…No, you shouldn't create a new tab, although it is possible. We don't have
any demos on doing this, since you'll have to modify the source. Just to be
sure, are you aware that RB Professional already has a visual query designer
work…You could create and register a custom label descendent. In the
PropertiesToDrawCommand method, override it and create a TppShape rounded
rectangle draw command and assign its page property. This page object can
be pulled from the i…You can replace this dialog, as every form in RB is replaceable. Create a
copy of the form in ppTxtDlg.pas and change the button click behavior. Add
ppTxtDlg to your uses clause and register you own, just like the default one
is reg…You have to create a custom shape component descendent. Overriding
IsDataAware won't work because the deisgner is coded to try to show the
possible shapetypes in the toolbar and not show the data pipeline and
datafield boxes. So, yo…By wrapper, I meant that you could create a component that would appear to
be two components on the form, but really it would be one component. The
two components could show a link between them. By clicking on the little
link, you co…You'll have to create a wrapper component, that can reposition these two
controls using the TextWidth + offset of the left component.
Or, you may be able to use the detail band's before print event to
pregenerate the band using …You can't show all three in the toolbar. The best solution is going to be
to do what you are doing. You could place all three in the dialog and leave
the caption in the toolbar additionally.
You could also descend from TppDBTe…You should be able to override the IsDataAware method in your descendent and
return true. This should cause the toolbar to show the data pipeline and
datafield boxes.
Create a single pipeline that isn't connected to the report. …The image approach is most likely the one that you can get working first.
Create a JIT pipeline to return the records. The JIT pipeline can return
images. If you do have images which may fit over multiple pages, then you
might be abl…Here is an article on hooks and Delphi:
http://delphi.about.com/library/bluc/text/uc063001a.htm
Cheers,
Jim Bennett
Digi…After further review, the double click won't be able to be hooked into using
the DesignControl as shown in the code below.
Cheers,
Jim Bennett
Digital Metaphors
You can access the component's design control. The design control is what
is created in the designer. However, since method pointers only support one
method, then you will lose any event handlers that were previously assigned
by the…A private event? Do you mean event handler? If it is private, just call the
method directly. An event property allows communication between two objects
at rutime so that when one has some action that takes place and it wants to
notify…It should be possible to wrap rotated text, but it isn't as simple as
rendering rotated text on a page, because the wrapping affects the space
used during report generation.
Have a look at the ppMemo.pas unit. It uses the ppPlai…