digitalmetaphors
Comments
-
You can use the OnCancel event of the report to detect when the user presses
the cancel button in the preview.
If that doesn't work, then you can create a custom preview plugin that can
provide the ability to do this in the OnCl… -
The SQL should reflect the join you specify. What is the SQL type you have
chosen? LocalSQL, SLQ1 or SQL2? Try setting it to SQL2. Do you have a WHERE
clause that performs the join instead ie. you have selected SQL1? Can you
reproduc… -
You're out of memory. Win95/98/ME have resource handling issues that Win
2K/NT/Xp do not have. Try increasing the memory for that machine. Can you
run our end user demo projects which use daIDE on this machine instead of
your applicat… -
A way to use your code in the end user environment is to use RAP. RAP lets
you code at runtime and save the code in RAP, since we wrote our own
interpreter. RAP is only available in RB Enterprise. This will be an easy wy
to port your … -
Here are a couple of examples that creates dataview and joins in code. It is
a DBE example, but it should work the same way for an ADO query dataview.
htt… -
Read Report.Units to know what the unit of measure the report is using. How
are you using the custom report wizard? The call to CreateDataControls is
located in the TppReportWizard.WizardToReport method. This should be called
after R… -
They can do it in RAP. See the Enumerated Type section of the Code Toolbox
in RAP. An end user should be able to say:
DBText.TextAlignment := taCenter;
Cheers,
Jim Bennett
Digital Metaphors
Yes, use regions. Set the region's line to be invisible by setting the
Region.Pen.Style to psClear.
Cheers,
Jim Bennett
Digital Metaphors
Use the BottomOffset property.
Cheers,
Jim Bennett
Digital Metaphors
This is hard coded in ppDsgner.pas. You will have to change the source and
rebuild your app using RBuilder\Source instead of RBuilder\Lib to change the
default font. See FDesignFont in this unit.
If you want to change current fo…You should be able to set the line position using the drop down (the same
toolbar control used for pipeline assignments).
Cheers,
Jim Bennett
Digital Metaphors
The reports will be converted automatically when you load and save a report
in the new format, but between 6.03 and 7.0x, you shouldn't have any problem
converting.
The only part that may come into play is if you are using the o…Try testing with a TppArchiveReader first. That should work.
Are you using a custom form you have created visually? If so, then the
TppSearchPreview object is never created, since it is created by the default
registered TppPrev…In the past, simply setting the formstyle did not help when you want to show
the report explorer in an MDI app. What version of Delphi are you using? Did
you have to make any other changes to our source? Perhaps there is a Delphi
upda…It may be a network connection problem since you can't connect to data all
the time. Does it always work the first time, but subsequent reports cause
the problem? Is it leaking memory? Is the machine out of resources when this
occurs…Yes, the NoDataBehaviors property is published, so it gets saved with the
template. When you load a template that isn't set the way you want then you
need to use the Report.Template.OnLoadEnd event to configure the report
after each t…Sorry Chris, I should have hit refresh to see that you beat me to it:)
Cheers,
Jim Bennett
Digital Metaphors
There is a free rotated text component available for download from our
website. Surf the friends | rcl section from the menu at the bottom of the
main page. www.digital-metaphors.com
Cheers,
Jim Bennett
Di…Stretch should resize the DBImage control to fit the graphic image. This
should be what you need to use. Then shift it's left position so that it is
right aligned . One way to do this is to load it into a temporary offscreen
bitmap an…Sorry for the delay, I was out of town for a few days. The only way to
programatically find a report by name is to also search on FolderID in order
to be sure you find the report. This is done visually when the user selects
a folder a…Waht do you want to do? If you know the report you want, simply load it from
database (Report.Template.LoadFromDatabase). Then access the other field in
the dataset that you want, ie ItemID, and then call Report.Print and then do
wha…Yes, it will show the header, footer, empty main detail and the summary will
get to generate completely over its dataset.
Cheers,
Jim Bennett
Digital Metaphors
You'll have to set the Report.NoDataBehaviors to [ndBlankReport]. However,
sets aren't supported in RAP, so you'll have to code a RAP pass through
function to set this property from RAP.
Cheers,
Jim Bennett
Access the designer's menu property at runtime and manipulate it. For
example, here are a couple demos showing how to remove the Save menu item at
runtime:
in Designer, diable the Report menu Comment by digitalmetaphors June 2003Most properties can be set by right clicking over the components using the
popup menu. There isn't a runtime object inspector for the report designer.
Cheers,
Jim Bennett
Digital Metaphors
That should do the trick. Any other problems now that it is working?
Cheers,
Jim Bennett
Digital Metaphors
Yes, that is right. The edit options are controlling what can be edited, not
what is shown. The actual SQL tab is hard coded to be created. You'll have
to replace the query deisgner form. The line of code to remove in the custom
form …You can control this by registering a descendent dataview class. Here is an
example of removing the Calc tab. Try removing ppemText from the example to
remove the SQL tab.
in Completely Hide SQL Comment by digitalmetaphors July 2003The latest DADE plugin for RB 7.02 includes support for the Advantage data
dictionary. Try RB 7.02 trial edition to evaluate upgrading to the latest.
Cheers,
Jim Bennett
Digital Metaphors
Try using the aliases in the ADS.ini file to setup a connection to ADS. That
way you don't have to use the OLE DB provider. The ADS alias support should
be what you use with the Advantage DADE plugin.
Cheers,
Ji…