rbuser
Comments
-
Where/when is the other post that explains how to do a calc based on summary
values? I am trying to do the same and get a value of 0 everytime. (The
report is pretty simple, each row is selected from a stored procedure that
sends ba… -
Thanks Nico. This worked very well. I suspect I also have to set the
DisplayFormat there too after setting the DataType.
Cheers,
Waguih
-
Hi Nico,
Thanks for your response. Re item #4, I don't know how I could've missed
trying to double-click. However, re item #2, I did find my way there, but
then all these properties appear to be read-only. I even tried
doub… -
Thanks for the help Jim.
For anyone else interested I have posted some sample code below which works
for me.
procedure TForm1.Button1Click(Sender: TObject);
var
lPrinterDevice: TppPrinterDevice;
lPrinter… -
Thanks
-
Sorry, I found the answer in the "Dynamically Creating Shapes" thread.
Don't know how i missed it the first, second and third times i looked.
Leah
-
Hi Jim,
Thanks for the prompt reply.
I could follow that route, but it would require modification of existing
reports in the field. Also, for end users creating reports, having to
include the report as a parameter is … -
I just tried to reproduce it, but it seems to be fixed in RB 7.02. The tabs
become disabled and stay disabled. Worls ok for me.
rgds
Bernd
support@digital-metaphors.com
Newsbeitrag
the
tab.
report:… -
I can remeber that I got the AV too by
- open/create a report at runtime
- set the EditSQL to true in DADE
- try to select a tab other than "preview sql"
No passthru functions were involved.
Bernd
-
I was trying your example. Is it possible to create autosearch controls at
runtime? I am guessing you can, but what event would I use? The
BeforeAutoSearchDialogCreate only fires if there are autosearch controls.
-
I think we are going in circles. My original newsgroup posting (see bottom)
showed that I am editing the SQLText property. As mentioned earlier, I
cannot use the standard addcriteria method because I need to compare two
different fiel… -
I sent a simple example to support@digital-metaphors.com.
-
I commented out the exit, added EditSQLasText and try/finally. I still get
the access violation. The violation occurs when I click the OK button on the
autosearch form. So the AV occurs before the call to my passthrough
function.
Thanks Jim, I'll give it a try.
Hi Jim,
I'll publish the next version on your site.
Cheers,
Chris Ueberall;
Hi Massimo,
you can use my little helper 'RAP2Text' if you need the text for version control purposes.
Feel free to cantact me per private email, don't forget to remove the NOSPAM tag.
regards,
Chris Ueberall;
Right for the pass through function, but why can I use the Eof function
et can't use the Next ?
Philippe Constant
CTRL Informatique
I have been trying to find a way to do this, as well, without setting the
Detail Band visible to False. I tried making the passthrough functions for
the SkipForward and SkipBackward. Is there a way to have the evaluation of
whether t…Hi Slava,
You can use the following ...
myDataPipeline.FieldObjects['myFieldName'].IsNull
... to test for NULL values.
regards,
Chris Ueberall;
Hi Paras,
since RAP code is pure Delphi it is of no problem using the integrated debugger. Set a breakpoint at the beginning of your RAP function.
regards,
Chris Ueberall;
Using RB 7.01 with Delphi 7 and Interbase.
Not using groups.
Cannot test with 7.02 at the moment but am emailing an example.
Thanks Jim.
Oh no
My fault the field was set to a date type.
HTH someone else anyway
Andy
Our application is not simple and the report structure deliberately
isolates the Report Builder specific code. This makes duplicating a
problem outside of the application a challenge. This report is very
simple so I decided to tr…Just out of curiosity I tried the following.
The TppField printing the SampleType field is DBText1. I put the
following code in DbText1OnGetText
ShowMessage(report.DataPipeline[DbText1.DataField]);
ShowMessage(T…When I put a TppField on the report, the value that prints is not the 0
shown in the ShowMessage in the DetailBandBeforePrint RAP code. It is the
text string 'rtTargetStandard'. This is the correct value for this field.
Wher…We have a TDataSet equivalent that is not a TDataSet descendent. Field
information is not available at design time. I have a simple program that
uses TppDesigner to edit the rtm.
My custom pipeline has only string fields. B…A light bulb (well maybe a LED) just lit up. I think the reason I was not
getting the right number in my varPercent was that I was not referring to
varTotalPaid.Value (just varTotalPaid). Anyway, I replace varPercent with a
TppLabel…Ok seems simple enough. I set up a varTotalPaid TppVariable, in its OnCalc
I have:
Value := Value + dbpContractBalance['O_TOTAL_PAID']; (note:
dbpContractBalance is my pipeline)
This works perfectly. It comes up with the…Not exactly what I was hoping to hear, but at least it can be done. I'll
tackle that new learning experience next week with a fresh brain (if I can
find one ).
Expect more questions then.
Thanks,
Carolyn