digitalmetaphors
Comments
-
Make sure you set it back to be visible when the following bands fire this
event.
if (Datapipeline['SomeField'] = SomeValue)
ppLabel1.Visible := false
else
ppLabel1.Visible := true;
Cheers,
Ji… -
Disconnect the data dictionary and see if that lets you create the dataview.
The next thing to test is to use the data dictionary builder (right click
over the data dictionary component at Delphi design time) in order to
populat… -
There is a BDE custom dataview template example in the main end user demo
folder. This is the place to start. We don't have and ADO example, but it
should be very much like the BDE example when creating custom dataview
templates. If y… -
You do not want to use the DefaultADOConnection. That gets created as a last
chance effort to connect to data when the dataview cannot find your
ADOConnection on any of your app's forms or datamodules. The report
designer should use … -
In the Join dialog, you can select multiple fields from each table. Try
setting DataDictionary.AllowManualJoins to true so you can access the Join
Dialog when using the data dictionary.
Cheers,
Jim Bennett
… -
We aren't aware of an AV similar to this. What version of RB are you using?
Try testing with RB 7.02 if you aren't using the latest already. Can you
reproduce this with our end user database demo for your database type? What
database … -
The top and bottom lists in the query designer are set in the different
TdaDualListPage descendents in daQueryDesigner.pas. See the TdaFieldPage in
particular where it overrides the CreateControls method. That is the top
list view whi… -
If you have older reports, then you can change the class names in the
template before you load it into a report. Here is an example of loading a
binary template as ascii text so you can do this query dataview class name
string convers… -
Use the Data Dictionary to reduce the tables and fields that are available
to certain users. You can define multiple data dictionaries on a database
and then filter the datasets that feed the TppDataDictionary component at
runtime bas… -
When you run a report, it needs to generate the autosearch dialog. To do
this, there is special code which tries to find out if there are any
autosearch criteria defined in the persistent dataviews. If there is, the
autosearch field o… -
1.b. Sorry I didn't see this one. To launch the designer as the main form of
an app, use an invisible main form and a timer to show the designer in a
timer event handler. See the main report explorer demo for the technique. It
shows t… -
Yes, using the end user configuration to design reports is the best way to
create reports that will be run on your client's machines. Use DADE to
define the data access. There is a SQL Server ADO demo in the
RBuilder\Demos\End User Da… -
If the designer is being shown, then that is going to be each time the user
launches the designer. The designer is going to load the report that gets
connected through the Designer.Report property. If you have multiple report
componen… -
In the example I sent, use only the OnShow event handler code and then
change the code in the button click to do this too:
ppDesigner1.Show;
ppDesigner1.Menu.Items[0].Items[2].Click;
Cheers,
Here is an example which launches the query designer before the designer is
shown and assign the query the user just created:
http://www.digit…You can't use daIDE as this will globally make the register and unregister
calls. What you have to do is selectively make the register calls when
showing one of the two designers of the same app in someting like this
psuedocode:
…You can transfer the rich text this way:
Cheers,
Jim Bennett
Digital Metaphors
------------------------------------------------
Tech Tip: Copy RTF data from TRichEd to TppRichText
---------------…It works fine in tests here. Is the rtf missing any tags? Can this rtf be
read in Word or WordPad?
Here is my code that tests what you described:
procedure TForm1.Button1Click(Sender: TObject);
begin
ppReport1.…Security is not built in. In order to mark items and folders read only, here
is an example:
http://www.digital-metaphors.com/tips/ReportExplorerW…This is not a known issue. It should automatically convert the reports. Load
this database report with the old application and save it to a report
template file. Then use a new app with RB 7.02 which simply loads this
report from file…Whoops, that link is wrapping funny on my newsreader. Here is a shortened
download file:
http://www.digital-metaphors.com/tips/LeftToRightGoingDown.zip…Here is the example I was thinking of. The key is that the left to right
columns are static height so the subreport needs to be designed to be as
tall as you want it. Notice that the columns wrap. I used RB 7.02 and D6.
The data is DA…Sure, set the Detailband.ColumnTraversal property to ctLeftToRight in a
subreport. You could have other subreports below that would print the
student data in vertical columns. I thinkyou'll want lookup datasets for
each column that wa…What I would do in this case is create a new registry (singleton) so you
could reference this in different parts of the app so it can stay decoupled.
Basically, you want to asscociate a report, or group of reports with a
specified aut…Hi Claudia,
The OnCalc is the event to use. Also, the DataType property is important to
set, as it defaults to string. Here is an article to help too:
-----------------------------------------------------------------------…You can hide the Save menus as shown in this example:
http://www.digital-metaphors.com/tips/HideSave.zip
Cheers,
Jim Bennett
Digita…ReadOnly is mainly implemented in the replacement report explorer form
supplied in the example. There is a description at the top of the
TmyReportExplorerForm class which describes the changes that are made to get
this working.
<…Are you an end user? You'll need to have RAP. Ask the author of your
application to upgrade to RB Enterprise and enable RAP (raIDE to the uses
clause) so that you can code event handlers as an end user to perform custom
calculations. …You can change the description that is displayed in the search dialog by
changing the TppAutosearchField.FieldAlias. Set this before the autosearch
dialog is displayed (Report.BeforeAutosearchDialogCreate event). The
autosearch fields…The RB query tools don't support this syntax. You'll have to implement this
by editing the SQL text of the query dataview. You'll lose the query tools
support if the SQL is manually edited on the dataview. You can edit the SQL
text at…