digitalmetaphors
Comments
-
Did you use our scripts to create the tables? In either case try recreating
the tables using the script found in RBilder\Demos\EndUser Databases\SQL
Server 7 and see if the problem persists.
--
Cheers,
Alexander … -
You can iterate individually through the specific groups of fields such as:
for liIndex := 0 to mySQL.SelectFieldCount - 1
// access mySQL.SelectFields[liIndex]
You can do the same with OrderByFieldCount/OrderByField… -
That does work though I have been able to reproduce the problem a few times
in D6. Which version of Delphi and RB are you using? I'll look into why this
could be hapenning.
--
Cheers,
Alexander Kramnik
Digit… -
Use the OnPreviewFormCreate event to assign the form a custom icon. For
example:
procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject);
begin
TppReport(Sender).PreviewForm.Icon.LoadFromFile('C:\FH40\gallery\glo… -
You can use the cross tabs component to try to mimic this type of behavior.
I tried creating such a report by creating a calculated field from the date
field and populating it with the day of the week. That field became the
column dim… -
Make sure that the the components are in fact inside the region. This might
sound obvious but they might not necessarily get placed into the region when
dragged. You can display the report tree (View->Report Tree) to be sure. The
o… -
DetailBand = Dynamic Height and Stretch on the Memo is all you need for this
behavior. Make sure that these settings are not being reset somewhere.
To force the entire detail band onto a new page place all the components in
the … -
Those settings are correct and should do the trick. The only question is how
are you adding that extra line to the memo? Are you adding it manually? If
so, when?
--
Cheers,
Alexander Kramnik
Digital Metaphor… -
---------------------------------
Tech Tip: Controlling the Printer
---------------------------------
The PrinterSetup Class
----------------------
You can control which printer is selected for a report
and … -
The image component does not support the PCX format. You have two options
however. You can create a descendant of TppImage/TppDBImage that can handle
that format. You can also use the OnGetPicture event of TppDBImage to
extract the BL… -
The RB Teechart wrapper class provides access to the chart object via its
Chart property. The series is hidden from being accessed in the form since
the form doesn't own it directly as in previous versions of RB or like in
QR. This … -
One possible problem could be that you are calling Load to load the template
into the report which uses the template's SaveTo property. This does default
to stFile but it is possible that it could be set to something else. Use
LoadFro… -
Yes, check out the demo of customizing the preview form.
http://www.digital-metaphors.com/tips/CustomPreview.zip
--
Cheers,
Al… -
You can create a dummy group around the detail band and setting the group to
Keep Together. You can create the group on either a field which changes for
every record. The other option is to create it on a static label and
implement th… -
Set the BandsPerRecords property of the detail band to 24.
--
Cheers,
Alexander Kramnik
Digital Metaphors
-
There is a page break component available from RBAddOn,
http://www.bancoems.com/rbaddon.htm.
--
Cheers,
Alexander Kramnik
Digital Metaphors
If you have other regions below the second region you can set the region
below to shift relative to it so that it will shift up to eliminate the
empty space if the second region is set to visible=false. However you make
the footer ban…You can use Teecharts inside of ReportBuilder. Check out Teechart at
www.teemach.com In our designer, there is a chart component and a DBchart
component. You can design charts in the chart editor inside of the report
designer just…You can disable the save menu as follows:
ppDesigner1.Menu.Items.Find('Save').Enabled := False;
optionally you can instead reassign the event handler to the same one as
Save As like this:
ppDesigner1.Menu.It…Here is the code to do what you want. Basically, check for no data around
the skipping logic, then disable all of the bands. To show the no data
message: add a draw command to the page when all the records have been
skipped as shown …When no records exist in your dataset, you need to set the
Report.NoDataBehaviors property to [ndBlankPage].
Cheers,
Jim Bennett
Digital Metaphors
The demo was checking Category in the SkipForward and Common_Name in
SkipBackward, which obviously is a mistake on our part. They should both be
checking Category to get the 18 records as the form states. The last
record's category …You can programmatically request the last page by setting the PageSetting
property on the requesting device, i.e. lDevice.PageSetting := psLastPage;
Make sure to use the ppTypes unit.
--
Cheers,
Alexander Kramnik
…Which version of RB are you using? Is there more than one report
instantiated at the time that this report is loaded? There is a known bug if
this is the case where properties such as ShiftRelativeTo can be cleared
when the report is …The Calc component has been replaced by the Variable component. Also the
detail band pipeline has been replaced by subreports. However, reports using
those will still run.
--
Cheers,
Alexander Kramnik
Digita…Not necessarily, but if you do then you could create a utility that would do
this programatically. If you move up to D5 then you should go all the way up
to 6.03 which is out latest release.
--
Cheers,
Alexander …This doesn't necessarily have to be a problem with the dll. It's more likely
and invalid memory access error in the code calling methods inside the dll.
The latest version for D3 is 4.23. You could try downloading that to see if
the e…Yes, the Band property of a component is what needs to be set in order for a
control to be located in a band.
Cheers,
Jim Bennett
Digital Metaphors
You can load it into a TPicture outside of RB. Use the
DetailBand.BeforePrint event to perform the check. Use the TPicture object
to check the image's width and height. Then if it is too big to fit in the
report page, then you can …1. RAP doesn't support this, as it is a slow operation (traverse the entire
dataset with this call to get the count) and we did not want you users to be
able to have this functionality to slow their reports down. Most times, the
recor…