rbuser
Comments
-
Murphy's Law dictates that the minute I post a problem, I find the
answer.... grrrr.
For anyone in my predicament: Set backgroundprintsettings.Active := false
and backgroundprintsettings.Enabled := false, along with the S… -
Hi,
I use the following function that is called from the OnLoadEnd()
eventhandler.
It overwrites the database used in the enduser report application with the
one I have
active in my own application. This workes fine fo… -
Affirmative - not only is there a valid connection, but is has the same
name as the prior one and it works fine. CReating a new dataview at
runtime is quite possible. Obviously, this can be time-consuming for
lengthy queries and th… -
Here is a code example to get the main report and all subreports:
procedure ReportObjectLoop;
var
slSubReports : TStringList;
iSubReportCount : Integer;
begin
AnalyzeReportObjects(ppReport1);
<… -
this is great but seems to skip the subreports
-
Hi Alexandre,
use a JITPipeline to pass values over to RB.
regards,
Chris Ueberall;
-
Hi Hans,
This is a BDE problem. You need to increase the Blobs To Cache setting in
the BDE administrator.
HTH,
Chris Ueberall;
-
> You need to set the TppDesigner.Position to poDefault...
Got it!
Thanks,
Vinnie Murdico
-
Sorry, I don't have time to design a test app, but I tried this in the
supplied demo app under the EndUser - Report Explorer directory:
1) I choose the report All Data and double-clicked it. The designer window
opens.
2) I … -
Hi Nico,
As you suggested, I looked at the demo, and did exactly what it does in rhe
unit (dm0124.pas). I placed the following code in the BeforePrint event:
if (CapRepBldr.PrinterDevice <> nil) then
begin<… -
> I have a dbgrid on a form and I am printing its content using report
1) You could also a JIT pipeline and traverse the selected records yourself.
2) before printing, get the ID's from the selected records and filter the
d… -
Well the report could just set the detail band visibility
based upon the 'Selected' field. That would not require
the query to be re-executed. The report would then
navigate all records.
Jon
-
Yes that's ok Jon. But I don't want to re-execute the query or filter a
table. I just want use the dataset visible at that time and print it. But
also want the user select the record to print.
I want to "remove" the record from the r… -
Marco,
I usually add an additional boolean field "Selected"
The user then turns on (or off) the field (check mark) and then
I use this field to select the records for printing.
Jon
-
Yes, very easily. You store your reports either in a DB Table or in a
directory, and load them from there.
--
Ed Dressel
Team DM
-
I have the same problem.
Included pDsgner, ppToolbars and ppIDE, but error "Undeclared identifier:
ToolBarManager" persists.
Property exists in RB 10?
"Chris Ueberall [TeamDM]" escribi? en el mensaje
-
Jonathan,
I guess the property wasn't public in RB6, it is now in RB7.
regards,
Chris Ueberall;
-
ppIDE was not in my uses clause. I added it and it made no difference. Same
error ("Undeclared identifier: ToolBarManager").
my code is accessing TppDesignerWindow(ppDesigner1.Form).ToolBarManager.
-
Jonathan,
Be sure you have the 'ppIDE' unit included in your 'uses' clause.
HTH,
Chris Ueberall;
-
ppDsgner is in my uses clause. The compiler generates the error "Undeclared
identifier: ToolBarManager". Are you sure this is correct for my RB version?
-
Ok Nico,
All this info is providing very useful, thanks. I cannot see any reference
to an OnLoadEndEvent in the example code you sent me. Also is there any
documentation which describes the properties etc of daSQL, daQueryData… -
Nico,
Is OnLoadEndEvent a RB7 event, I cant find it in RB603. If so, any other ay
to access the SQL statement.
Regards
--
Alex
-
Hi Nico,
Thanks for the example, thats a good start for me in relation to changing
SQL on the fly. When editing a report at the end-user level, you can create
from the Report/Groups menu, a group header and footer band. How ca… -
Hi Nico,
I don't think changing the dataset is a solution for me. The report feeds
into the end-user facility, so I would need a way to modify the final SQL
statement created by ReportBuilder (I guess?) and also the report grou… -
Hi Nico,
How and where would I do that? I am using 6.03
--
Alex
-
Exscuse me for my bad english!
I don't append the records when the reports
is running!
I append the records and after I print!
Moro.
-
Nico,
Thanks for your help! I will do some further testing and let you know the
results.
Gerry Tomlin
gktomlin@aol.com