digitalmetaphors
Comments
-
Make a two pass report and find out which record is the 5th from the last by
the primary key value during the first pass. Then in the second pass,
manually set a group's break value to force a group break when the current
pipeline fi… -
As long as you don't use RAP you should be fine. Double check your source to
make sure you don't have raCodeModule or ra* units listed in the uses clause
before you give your customer the source.
Cheers,
Jim Ben… -
Yes, it should be compatible. Make sure that you don't use RAP and that it
is not saved in the template. Otherwise, you'll get an Exception when the
template loads in RB Pro which has RAP code in it.
Why not use RAP now in RB 6.… -
The scope of RAP code is applicable only inside the subreport. You can't
reference object outside of the subreport. This was done so the end user can
code simple calculations without having to see naming conflicts. For
example, ppLabe… -
The way to do it was in my last post. There is no 'search on all'
enumeration in that type.
Cheers,
Jim Bennett
Digital Metaphors
-
In order to show all, there is a checkbox in the autosearch dialog for each
field that allows you to show all values. If you aren't showing the
autosearch dialog, but want to show all values, then you simply have to
leave the criteria… -
It isn't a replaceable form, it is a message box call. You can always
perform a try except around your pass through function code to trap the
exception and try to handle it yourself instead of letting the exception
flow up to RAP's ex… -
RAP handles the exception and gracefully continues execution, showing the
generic cannot execute the event handler message. Since RAP handles the
exception, you could show a description message to the user why something
did not work i… -
The OnCreate event is too late to set this event. The best way to accomplish
this is to set the Header.PrintPosition to 2 from RAP.
Cheers,
Jim Bennett
Digital Metaphors
-
The designer datasettings shouldn't change because a report template gets
loaded. Can you send an example to support@digital-metaphors.com along with
the steps needed to get the error.
Cheers,
Jim Bennett
… -
There is a Designer.DataSettings property that is called AllowEditSQL. If
you edit the SQL of a dataview, then the dataview's SQL object has its
EditSQLAsText property set to true at that point. AllowEditSQL is a setting
on the desig… -
You'll have to extract the TdaSQL object and check its AllowEditSQL
property. You'll have to do this in a pass through function. Pass the report
in the function as the only in parameter. Then return true or false in the
second paramet… -
A patch is available to fix this problem when using sub selects for DADE
search criteria and then calling Report.GetAutosearchDescriptionLines.
Cheers,
Jim Bennett
Digital Metaphors
-
Ok, we got an email example from you today. I'll dig into it this morning!
Cheers,
Jim Bennett
Digital Metaphors
-
I totally missed the DADE part. Sorry.
BTW- We did not receive a demo for this issue.Can you resend it to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
-
Is this with a DADE dataview or a query on a form/datamodule? It works fine
in tests here. Can you reproduce this problem with our demos?
You don't have to use the GetAutosearchDescriptionLines, but rather you can
build your own… -
Use the detail band's BeforePrint event to set the DetailBand.BandsPerRecord
property. Simply return the pipeline field value for the current record and
set the BandsPerRecord to that value.
in repeating detail lines Comment by digitalmetaphors June 2003 -
Oh, sorry, the best event to toggle visibilities is the band's BeforePrint
event. That should do the trick.
Cheers,
Jim Bennett
Digital Metaphors
-
I was thinking you were following the architecture of your RB control using
the methods shown to be overridden similar to the demo RCL DB Checkbox
control. You can create your own draw command class and handle the drawing
of the circl… -
First, get it working from within the context of Delphi event handlers. This
will be easier to debug first, then port it over to a RAP based report. Are
you creating a TppDrawShape set to draw a circle? In the
PropertiesToDrawComman… -
Setting an autosearch field's SearchExpression should work out of the box.
The property is published so it should be visible in RAP. What doesn't
compile- which line of code in RAP? If still no joy, feel free to send a
DBDemos based e… -
You can edit the SQL text in a RAP pass through function, but you will need
to edit the SQL text and use autosearch. To do this, you'll really need to
use a manual way to apply the autosearch criteria values and also edit the
SQL text… -
You shouldn't try to switch the pipeline in the RAP Report.BeforePrint
event. The timing to switch the pipeline would be the global OnCreate event.
The BeforePrint event is the event which fires after the pipeline is open
and everythi… -
This would be called from Delphi code for a report, not from RAP code so
that you wouldn't show the designer. You can't by pass the preview if you in
the report designer in code. One way to do it from the UI is to use the
standard to… -
Set Report.DeviceType to printer and call Report.Print. The RAP code will
execute when the report runs. I guess you'll also want to set
Report.ShowPrintDialog to false since you have your own code to configure
the printer setup.
… -
A special RAP OnSave and OnLoad event is on the ToDo list.
Cheers,
Jim Bennett
Digital Metaphors
-
You're right, when RAP is involved the report streams it self to a template
to make sure the layout doesn't get changed by the RAP code. This causes the
dataviews to be reloaded and the search criteria is restored to the value
that is… -
Hi Rick,
It works fine in tests here with RB 7.02.
I ran one of the main autosearch demos in the end user database and the
search criteria entered stayed persistent while the reprot was in the
designer, no matter whi… -
This was a copy/paste bug in the source when parameters were added to 7.02.
Email support@digital-metaphors.com and we'll reply with a patch unit to fix
the issue at runtime.
Cheers,
Jim Bennett
Digital Met… -
Is he loading an older invalid template that is referencing a pass through
or object that you changed from a prior version of your app? Could you
reproduce it on your machine and send us an example that shows the problem?
Send all att…