digitalmetaphors

About

Username
digitalmetaphors
Joined
Visits
6
Last Active
Roles
Administrator
Last Name
Metaphors
First Name
Digital

Comments

  • You assumption is correct. Use RAP if you are going to use templates and event handlers. You should be able to set the Report.ShowPrintDialog to False once the first report has been printed, and the printer known. Use the Report.BeforePrint event…
  • If you load a template into a report object, you will want to make sure to set the PrinterSetup property after the template has loaded. See the tech tips newsgroup in the templates thread for information on using report templates. Cheers, Jim Be…
  • Thankyou, for the suggestions. If the report is to continue generating, there should at least be some hint to the user, in which the report couldn't generate correctly because of a page height conflict. Cheers, Jim Bennett Digital Metaphors
  • It's not really a bug. The first group header reprints on every subsequent page, and the second group header is always trying to print, but can't there isn't enough space for it to print, ever, because the first group header is trying to print as w…
  • When the detail band prints, the detail band count isn't getting reset when you assign the detail band count. So, open ppBands.pas in your installed RBuilder\Source. Change the Detailband.SetBandsPerRecord method as shown below. Change your libra…
  • You'll need to set BandsPerRecordCount to 1 in this case. It is a read only property. However, you can open ppBands.pas and change the DetailBand.BandsPerRecord property to writeable. Then you can set it to 1 when the skipping has finished, in th…
  • There is the OnDrawCommandClick event. The demo below shows a basic interactive preview. http://www.digital-metaphors.com/tips/InteractivePreview.zip There is an autosearch capability in the previewer. It will generate a report only for the cri…
  • We have two choices when we create a preview - compose for the screen, or compose for the printer. Most programs such as MS Word compose to the screen when they create a preview. This makes for attractive previews but they tend to be inaccurate. And…
  • What do you mean crashes- AV or infinite pages...? Do you have any event handlers attached to the rich text? What version of Delphi/RB are you using? Try using 5.56. Our rich text control is wrapper around Delphi's TRichEdit. The rich text com…
  • Set Save and SaveOrder on the text components. Cheers, Jim Bennett Digital Metaphors
  • Non-graphical means that only the text in the report is sent to the report emulation text file. The Report.DeviceType property can be set to dtReportTextFile. Set Report.AllowPrintToFile to true. Set the Report.TextFileName. Calling print will s…
  • Sorry for my reluctance on responding to your question. We have not modified print drivers and we are not claiming to be experts on this. It may be possible, but modifying a print driver appears to be difficult, to say the least. I was hoping tha…
  • If the driver does not support a custom paper size, then you could print to a (non-graphical) report emulation text file and then send that to the printer. ----------------------------------------------- Tech Tip: Send TextFile to Printer --------…
  • --------------------------------------------- Article: Custom Paper Sizes on Windows NT --------------------------------------------- Win NT (and Win 2000) have a completely different printing architecture from Win 9x. This is particularly apparent…
  • I don't think you can save the band as an element with all of its children into a stream very easily. You could loop through the elements in the band and save them to a stream. See the code-based thread in the Tech-Tips newsgroup on looping throug…
  • Check the TppVariable's type. To force a dbCalc to generate before the group footer variables generate: 1. Call SendToBack on the dbCalc and you can leave the dbCalc in the group footer band or 2. Place the dbCalc in the detail band and set its…
  • You'll need to concatenate the fields. You could do this on the dataset with an expression type calculated field. You can do this in DADE very easily. The other alternative is to use the OnPrint event of a TppLabel to read the pipeline field val…
  • You can't mix form inheritance with report templates. One alternative is to dynamically load subreports. There is a demo of this in your ../RBuilder/Demos/EndUser/DynamicSubreportLoading/ For instance, load a subreport in the header band which con…
  • Only RB Pro and Enterprise include DADE. Cheers, Jim Bennett Digital Metaphors
  • Connect the datasource to a dbGrid on a form to verify that the query works. Check the datapipeline property on the report. Check to make sure the components in the report are connected to the new pipeline and the proper fields- perhaps they became…
  • At run-time you can programmatically edit and manipulate the formatted text by using the Paragraph, SelAttributes, SelStart, SelLength, and SelText properties and the ClearSelection, FindText, and SelectAll methods. These are the same properties and…
  • There is the concept of master-detail-detail, such as you would get from linking the Customer-Orders-Items data tables. See the main demo project in your installation../RBuilder/Demos/1. Reports and look at demos #71-73 You can also create master-…
  • Have the variable reset on GroupStart. Be sure the groups are assigned in the Timing dialog. The OnCalc should fire for you now. Cheers, Jim Bennett Digital Metaphors
  • From the help file: At run-time you can programmatically edit and manipulate the formatted text by using the Paragraph, SelAttributes, SelStart, SelLength, and SelText properties and the ClearSelection, FindText, and SelectAll methods. These are t…
  • I've responded via email to your email to support@. For those interested, the issue is with a dynamic height detail band with a calculation. So, the workaround is to use the AfterPrint event of the detail band to assign the value of an invisible d…
  • If you are using templates, then use RAP for the event handlers. What is ADDM? Is it a variable in your application? RAP isn't aware of global variables in your application. You would need to either code a pass-thru function to surface this valu…
  • The style page is where the fonts are selected for a new report. You'll want to modify the report wizard to add new styles to the style page. The report wizard is located in the ppRptWiz.pas. Start with the TppReportStyle class. However, this do…
  • I've noticed the same behavior. Using a Intellipoint 3.1 driver it doesn't work, but using the latest from MS download page, it does work. Cheers, Jim Bennett Digital Metaphors
  • You would need to modify the screen device (TppScreenDevice in ppViewr.pas) to take out the grey dead area. If you would like to change the zoom when the preview is shown, you can control the built-in preview form via the Report.OnPreviewFormCreate …
  • We have just released RB6 for D6. We are working on releasing versions for D5 and D4 which should be ready very soon. Thankyou, for your patience. Cheers, Jim Bennett Digital Metaphors