<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Datapipelines — ReportBuilder Support Forums</title>
        <link>https://www.digital-metaphors.com/forums/</link>
        <pubDate>Wed, 11 Mar 2026 13:30:25 +0000</pubDate>
        <language>en</language>
            <description>Datapipelines — ReportBuilder Support Forums</description>
    <atom:link href="https://www.digital-metaphors.com/forums/categories/datapipelines/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Detail line breaking on the first page.</title>
        <link>https://www.digital-metaphors.com/forums/discussion/22057/detail-line-breaking-on-the-first-page</link>
        <pubDate>Wed, 24 Dec 2025 20:14:17 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>bumboltorin</dc:creator>
        <guid isPermaLink="false">22057@/forums/discussions</guid>
        <description><![CDATA[Hello, Happy Holidays.

I'm testing your component for Delphi Florence and I've encountered a problem. 

I can't figure out how to print the detail on the first page of the report. It breaks in the middle, leaving the rest of the first page blank. From the second page onwards, it normalizes.

I'm sending a simple program that simulates the problem.

I need 4 to 5 groups in a report, and the detail should print in the 5th group.

Could you help me by indicating where I need to correct this so that the detail prints on the first page with all the groups?

Thank you, Milton]]>
        </description>
    </item>
    <item>
        <title>PRoblems with TppJITPipeline</title>
        <link>https://www.digital-metaphors.com/forums/discussion/22055/problems-with-tppjitpipeline</link>
        <pubDate>Tue, 23 Dec 2025 11:31:12 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>jajaja</dc:creator>
        <guid isPermaLink="false">22055@/forums/discussions</guid>
        <description><![CDATA[Hello,

I have a fairly specific problem with one of my reports.
In short, the report freezes when I try to display a value from a `TppJITPipeline`, **but only when the report consists of multiple pages**. The report never reaches the end: the **“Close”** button does not appear and remains **“Cancel”**, and clicking it does nothing. I then have to terminate the application using Task Manager.

The `TppJITPipeline` itself is very simple: it contains only **one record** and reads its values from a record. The value itself is displayed correctly in the report, so that does not seem to be the issue.

It makes no difference whether I place the field in the header band or the footer band.
As soon as I add this field, the report is no longer generated completely.

Where should I start looking? 

Any help would be greatly appreciated!

kind regards,

Dirk Janssens.

For completeness, below is my TppJITPipeline component (without the fields), and the procedure  jitOrderTotalenGetFieldValue :

object jitOrderTotalen: TppJITPipeline
  InitialIndex = 0
  RecordCount = 1
  UserName = 'jitOrderTotalen'
  OnCloseDataSet = jitOrderTotalenCloseDataSet
  OnGetFieldValue = jitOrderTotalenGetFieldValue
  Left = 304
  Top = 16
  object jitOrderTotalenppField1: TppField
    FieldAlias = 'Huur_Dag_Bruto'
    FieldName = 'Huur_Dag_Bruto'
    FieldLength = 10
    DataType = dtDouble
    DisplayWidth = 10
    Position = 0
  end 
.......etc...

function TDM_Reportbuilder.jitOrderTotalenGetFieldValue(
  aFieldName: string): Variant;
begin

try

  if OrderTotalen.DagenInWeek = 0 then
   Bepaal_Offertetotalen_Op_Basis_Van_Leveringsgegevens ;

  DM_Codesite.csDebug.TraceMethod( Self, 'jitOrderTotalenGetFieldValue', tmoTiming );

  DM_Codesite.csDebug.Send( aFieldname);

   case jitOrdertotalen.FindField(aFieldName) of

    0 :  REsult := OrderTotalen.Dagprijs_Bruto ;

<i>   //similar for 1..33]</i>

   34 :  REsult := OrderTotalen.TeVerzekeren_PerDag * 5 ;

   else Result := 'onbekend veld: ' + aFieldName ;

   end;

  except <i>//The exception is never triggered</i>

    on E : Exception do
      DM_Codesite.csDebug.SendException('Fout in cdsFacturenCalcFields', E );

  end;

end;




]]>
        </description>
    </item>
    <item>
        <title>Detail datapipeline</title>
        <link>https://www.digital-metaphors.com/forums/discussion/22052/detail-datapipeline</link>
        <pubDate>Wed, 03 Dec 2025 15:04:11 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>Felixinasa</dc:creator>
        <guid isPermaLink="false">22052@/forums/discussions</guid>
        <description><![CDATA[Hello

Why is it that in some reports I can assign one DataPipeline to the report and another DataPipeline to the detail, but in other reports I can’t?


Thanks]]>
        </description>
    </item>
    <item>
        <title>Moving fields between pipelines</title>
        <link>https://www.digital-metaphors.com/forums/discussion/22049/moving-fields-between-pipelines</link>
        <pubDate>Tue, 04 Nov 2025 07:52:31 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>Jan</dc:creator>
        <guid isPermaLink="false">22049@/forums/discussions</guid>
        <description><![CDATA[Hello,

We have our own Pipeline inherited from TppCustomDataPipeline. I am not the author.

I need to go through all our reports and move some fields from one pipeline to another. The fields are in both data sources.  
I do this with the following code. It seems to work. When I open Designer, I can see the fields there. However, after Preview, they disappear. They are not part of SQL.
When I do the same thing in Designer, it works. I'm missing some refresh call there. I can't figure out which one.

Can you please advise me?

Thanks, Jan

<code>
      var LI := AOldPipeline.IndexOfFieldName(AFieldName);
      if LI &gt; -1 then
      begin
        var LField := AOldPipeline.Fields[LI];
        LI := ANewPipeLine.DefineField(LField.FieldName, LField.DataType, LField.FieldLength);
          AOldPipeline.RemoveField(LField);
      end;
</code>
]]>
        </description>
    </item>
    <item>
        <title>infinite loop with report builder 23 and Embarcadero Athens in case of subreport</title>
        <link>https://www.digital-metaphors.com/forums/discussion/22018/infinite-loop-with-report-builder-23-and-embarcadero-athens-in-case-of-subreport</link>
        <pubDate>Wed, 02 Jul 2025 07:44:48 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>giacomocerati</dc:creator>
        <guid isPermaLink="false">22018@/forums/discussions</guid>
        <description><![CDATA[I have 2 pipelines, one main and one connected to the main. Both load data from two txt files.
I have configured the MasterFieldLinks correctly.
When I open the print if the main report has multiple rows, the print preview goes into an infinite loop. Otherwise, if the main report has only one row, the printout works.
 
Using Embarcadero 10.4 and Report Builder 12 I did not have these problems on the same development code.<del></del>]]>
        </description>
    </item>
    <item>
        <title>Linked datasets Connected to DBPipelines - Is This OK?</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21876/linked-datasets-connected-to-dbpipelines-is-this-ok</link>
        <pubDate>Tue, 19 Mar 2024 17:57:16 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>lawrencek</dc:creator>
        <guid isPermaLink="false">21876@/forums/discussions</guid>
        <description><![CDATA[I programatically create Datasets and relationally build SQL with their Datachange events, opening and closing them (but not  recreating the components). I create add pipelines. This works nicely.
Should I do this with pipelines datachange? Don't want to! Is this OK or can you foresee any problems?
The concept works well, but do I have to link them within RB?
D7 RB.2203]]>
        </description>
    </item>
    <item>
        <title>Master detail pipline with underscore in key fields</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21860/master-detail-pipline-with-underscore-in-key-fields</link>
        <pubDate>Tue, 20 Feb 2024 13:29:47 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>MikaKois</dc:creator>
        <guid isPermaLink="false">21860@/forums/discussions</guid>
        <description><![CDATA[ReportBuilder 19.04
if have two datasets: master has keyfield with values
1_pkt
2pkt
detail has values 
1_pkt      item1
1_pkt      item2
2pkt        item1
2pkt        item2

I only get values of 2packet if subreport is present. If I remove subreport.
I get 1_pkt also. Or if i just print pure subreport data. 
I have verified order of items, they are same.
Is there something special with underscore ?


]]>
        </description>
    </item>
    <item>
        <title>Change Field Names</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21791/change-field-names</link>
        <pubDate>Fri, 21 Jul 2023 10:50:30 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>zippo</dc:creator>
        <guid isPermaLink="false">21791@/forums/discussions</guid>
        <description><![CDATA[Hello!

I'm trying to port a lot of reports (around 200, but multiplied by 100 because many customer DBs that have a little customised reports) to a new DB. The new DB is very similar to the old DB, but it has different field names (type of data is still the same).

I came up with the idea of some type of converting tool that would change the DB names. I will prepare a list of source and target names.

Is technically possible to load a report, change the Fieldnames (also in script and calculated) in the report and save it back? I know there will be some fields that will not convert, but my hope is to ger 90% of the reports converted, the rest will be done by hand.]]>
        </description>
    </item>
    <item>
        <title>Calculated Field change break the link to the DBText component</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21715/calculated-field-change-break-the-link-to-the-dbtext-component</link>
        <pubDate>Fri, 18 Nov 2022 15:02:55 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>zoltan_andrusecz</dc:creator>
        <guid isPermaLink="false">21715@/forums/discussions</guid>
        <description><![CDATA[Version: ReportBuilder 21.04

On the Report's Pipeline Data object if we have a Calculated field with a Field Alias like "Customer Name" and SQL Alias "Select_C_Custname_from_H"

The DBText component references this calc field by its Field Alias "Customer Name"

If we change the Function expression on the Calculated Field, it will change the Field's SQL Alias automatically to "Select_C_Address1_from_H"
 
This in turn breaks the DBText's link to the Field. The DBText component will be referencing field "SELECT_C_CustName_FROM_H" and not "Customer Name". This seems to be the old SQL field alias of the calc field.

This appears to be a bug. Can anyone else recreate this or is it just me?

Thank you,
Zoltan.
]]>
        </description>
    </item>
    <item>
        <title>Memory leak with DB JIT's</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21675/memory-leak-with-db-jits</link>
        <pubDate>Mon, 25 Jul 2022 20:48:35 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>markk</dc:creator>
        <guid isPermaLink="false">21675@/forums/discussions</guid>
        <description><![CDATA[In our app when we run a SQL statement our database.connection method for returning the ADO SQL connection to be used creates a new connection object per 'database connection' per thread if one doesn't exist yet.  We also keep a track of connections assigned to each 'database' object and another list/dictionary for ADO connections created in a thread so that we can track and detect developer failure to close and cleanup.  We normally close the connection when it's finished with and then just before thread exit call 'releaseThreadsConnections' which checks to see that connections for the thread have all been closed and free'd, when they haven't it throws an assert and cleans up.

I haven't been able to find any events or similar suitable place that I can hook into to do a connection close (within the correct thread report builder runs the JIT queries in), nor where I can call our 'releaseThreadsConnections'.  Note that they could be called sequentially in the same event.  Are you able to advise if there is anywhere suitable?

The Developers Guide hasn't been any help and I've tried looking for your online help but can't find it and the downloadable WinHelp  and HTML help at https://www.digital-metaphors.com/download/documentation/#OnlineHelp don't work on my computer]]>
        </description>
    </item>
    <item>
        <title>Cannot able to assign a datasource to TppBDEPipeline</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21643/cannot-able-to-assign-a-datasource-to-tppbdepipeline</link>
        <pubDate>Wed, 18 May 2022 09:36:25 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>rajeev_kumar</dc:creator>
        <guid isPermaLink="false">21643@/forums/discussions</guid>
        <description><![CDATA[Hi,
I am migarting my application from delphi 4 to 10.4. Currently I am using report builder 21.01.
In older version, delphi 4 when assigning datasorce to TppBDEPipeline its working fine. But after migartion in delphi 10.4 its giving an error "Cannot assign a TFieldList to a TStringList" on assigning datasource to TppBDEPipeline.

Code example:

var
FPipeLine : TppBDEPipeline;
begin
FPipeline.Datasource := DatasourceImprRapt;]]>
        </description>
    </item>
    <item>
        <title>Unit raTreeVw was compiled with a different version of ppToolResources.ToolImageList</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21620/unit-ratreevw-was-compiled-with-a-different-version-of-pptoolresources-toolimagelist</link>
        <pubDate>Fri, 11 Mar 2022 13:06:15 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>rajeev_kumar</dc:creator>
        <guid isPermaLink="false">21620@/forums/discussions</guid>
        <description><![CDATA[Hi,
I am migrating my application from delphi 6 to 10.4. We are currently using Rbuilder 21.01. I am trying to build my application and getting this error  :
" Unit raTreeVw was compiled with a different version of ppToolResources.ToolImageList"]]>
        </description>
    </item>
    <item>
        <title>Getting an error Cannot assign a TFieldList to a TStringList</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21614/getting-an-error-cannot-assign-a-tfieldlist-to-a-tstringlist</link>
        <pubDate>Fri, 04 Mar 2022 08:47:53 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>rajeev_kumar</dc:creator>
        <guid isPermaLink="false">21614@/forums/discussions</guid>
        <description><![CDATA[Hi,
I am migarting my application from delphi 4 to 10.4. Currently I am using report builder 21.01.
In older version, delphi 4 when assigning datasorce to TppBDEPipeline its working fine. But after migartion in delphi 10.4 its giving an error "Cannot assign a TFieldList to a TStringList" on assigning datasource to TppBDEPipeline.

Code example:

var
FPipeLine          : TppBDEPipeline;
begin
FPipeline.Datasource                         := DatasourceImprRapt;]]>
        </description>
    </item>
    <item>
        <title>Class TDaDOAQueryDataView not found.</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21616/class-tdadoaquerydataview-not-found</link>
        <pubDate>Mon, 07 Mar 2022 16:45:19 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>rajeev_kumar</dc:creator>
        <guid isPermaLink="false">21616@/forums/discussions</guid>
        <description><![CDATA[Hi, 
I am migrating my application from delphi 6 to 10.4. We are currently using Rbuilder 21.01. When we trying to loadreport its giving an error message "Class TDaDOAQueryDataView not found." or "Class TdaQueryDataView not found." . This error message comes on calling following code. This message was also coming in older version.

FReportExplorer.LoadReport(FListView.ItemName, FListView.FolderId);]]>
        </description>
    </item>
    <item>
        <title>DBMemo wrong height calculation</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21500/dbmemo-wrong-height-calculation</link>
        <pubDate>Fri, 14 May 2021 08:53:56 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>matthias_infominds</dc:creator>
        <guid isPermaLink="false">21500@/forums/discussions</guid>
        <description><![CDATA[Hi,
I have noticed a problem with DBMemo. When a text ends up with a lot of spaces RB calculates the height of the field as if it were a Trim but then later when it performs the text it uses all the text with the spaces at the end and then resizes the very small to have space in the reserved place.

The DBMemo has the property Strech turned on

RB Version: 20.02 Build 67

<img src="https://i.ibb.co/drjtzZg/2021-05-14-10-44-18-IOS-To-Do-Bearbeiten-Todokode-373614-Beschreibung-FW-Schriftgr-e-LL-Hy.png" alt="image" />

Here the text that showed up wrong:

Format: 60x7cm
Druck: 1/0 farbig schwarz
Papier: uso mano 80g
Verarbeitung: geschnitten                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ]]>
        </description>
    </item>
    <item>
        <title>TppDBRichText  and TppJITPipeline</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21482/tppdbrichtext-and-tppjitpipeline</link>
        <pubDate>Thu, 25 Mar 2021 18:07:40 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>stefanrusche</dc:creator>
        <guid isPermaLink="false">21482@/forums/discussions</guid>
        <description><![CDATA[Hello,
I am using a report together with some TppJITPipelines.

For the TppDBText elements, this works fine.
However, there is one TppDBRichText element linked to one existing datafield in one existing datapipeline in the report and this does not fire the GetFieldValue event of the Pipeline.

Is there anything specific, I could have done wrong?
Are there any known limitations in this context?
Any hints or workaround?

Thank you 
Stefan
]]>
        </description>
    </item>
    <item>
        <title>Report based on xml-data</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21374/report-based-on-xml-data</link>
        <pubDate>Tue, 04 Aug 2020 15:05:28 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>ceider</dc:creator>
        <guid isPermaLink="false">21374@/forums/discussions</guid>
        <description><![CDATA[Hi,

within a project any data is stored as xml-data. This may be files or strings in a database.
I now have to print this data. 

Our normal way is to create tables within a database, which works for decades very fine.

I see different approaches to solve my problem:

1.) Use old way, create tables and ....
Unfortunately the structure of the xml-data is something between "fits into a single table" upto "ERD does not fit onto a single page using fontsize=2".
Maintaining this tables will be a horror

2.) Use textfiles by TextPipeline
Use any magic way to create multiple CSV-Text-files which can be used by a textpipeline

3.) JITPipiline on objects
Any of these XML-File is available as a object-structure. There could be multiple JITPipelines to walk through the objects.


Any ideas or best practices how to solve my issue?

Tia Carsten


]]>
        </description>
    </item>
    <item>
        <title>Limiting a TeeChart to a Single Record</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21370/limiting-a-teechart-to-a-single-record</link>
        <pubDate>Thu, 30 Jul 2020 21:07:37 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>DataInspector</dc:creator>
        <guid isPermaLink="false">21370@/forums/discussions</guid>
        <description><![CDATA[I am writing an invoicing program that runs through hundreds of invoices each month.  Each invoice presents a visual indication of the project budget (the TeeDBChart).  I struggled with the issue of limiting a TeeDBChart within a Report to the current record only.  Here is my solution.

Set up a memory-based table (e.g., FDMemTable) to hold the data you want to chart.  Link each series to the Fields within this table.  On the report's DBPipeline, use the OnDataChange event to write the contents to the memory-based table.  You need to empty the memory-based table first so that it will only contain one record at a time.  In my case, I needed three financial items for a stacked bar chart.

Example of the ppDBPipelineReportQuery.OnDataChange event I used the following code:

FDMemTableMyChart.EmptyDataSet;
FDMemTableMyChart.Edit;
FDMemTableMyChart.TotalBudget.Value := dm.ReportQueryTotalBudget.Value;
FDMemTableMyChart.TotalSpent.Value := dm.ReportQueryTotalSpent.Value;
FDMemTableMyChart.CurrentInvoice.Value := dm.ReportQueryTotal.Value + dm.ReportQueryTotalSpent.Value;
FDMemTableMyChart.Post;
    ]]>
        </description>
    </item>
    <item>
        <title>ReportBuilder Pipeline with blank parameters</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21360/reportbuilder-pipeline-with-blank-parameters</link>
        <pubDate>Wed, 08 Jul 2020 06:22:05 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>ocpatayon</dc:creator>
        <guid isPermaLink="false">21360@/forums/discussions</guid>
        <description><![CDATA[My pipeline was crushing when my parameter is blank - literally no characters, since i was using the parameter on my query pipeline. How to work on it? Sample pipeline will post below:

select 
  ID
from 
  invoice
where
  (:RefNoFrom='Null' or  CODE='asdad')

it fetches an error when the parameter :RefNoFrom has no string or literally null]]>
        </description>
    </item>
    <item>
        <title>DBCalc not summing JIT value that is BCD</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21339/dbcalc-not-summing-jit-value-that-is-bcd</link>
        <pubDate>Fri, 29 May 2020 14:02:40 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>jwaler</dc:creator>
        <guid isPermaLink="false">21339@/forums/discussions</guid>
        <description><![CDATA[I have a variant that contains a BCD value from a query that will not sum. The DBText will display each value but the Sum always returns 0. I am on 20.01

To reproduce you can do this. Create a JIT field with type Extended (no BCD option). An use this to generate values:

function TForm1.JITGetFieldValue(aFieldName: string): Variant;
begin
  Result := VarFmtBcdCreate(10);
end;
]]>
        </description>
    </item>
    <item>
        <title>how to connect database wit Report Builder</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21314/how-to-connect-database-wit-report-builder</link>
        <pubDate>Wed, 15 Apr 2020 11:50:58 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>Tottof</dc:creator>
        <guid isPermaLink="false">21314@/forums/discussions</guid>
        <description><![CDATA[Hey Guys, i am new and i am a total beginner. So please excuse my beginner question and i would be very thankful if you can help me out in this case. I am using sage 50 as ERP an i want to create reports with the report builder. Therefore i installed delphi 13 and the report builder. 
Now i have the problem, that i don`t know how to connect the report builder with the sage 50 Database. It would be great when you can help me with that case. ]]>
        </description>
    </item>
    <item>
        <title>Using JITPipelines in a TService</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21137/using-jitpipelines-in-a-tservice</link>
        <pubDate>Tue, 18 Jun 2019 10:01:34 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>ABTom</dc:creator>
        <guid isPermaLink="false">21137@/forums/discussions</guid>
        <description><![CDATA[We are trying to produce reports out of a TService. We are using JITPipelines within the service (declared as public vars in the TService class) to transport the data to the report. 

The same code in a VCL app works fine. But within the service the data never shows up on the produced report.

Does anyone know if the report only looks inside a TForm parent or whether it will look inside a parent TService too?

I've modified the service to run as a console app in debug and can verify the JITPipelines are created and populated with data - it's the same code as used in the VCL, which works.

Thanks]]>
        </description>
    </item>
    <item>
        <title>Report with subreport does not load</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21118/report-with-subreport-does-not-load</link>
        <pubDate>Thu, 16 May 2019 18:10:08 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>dataol</dc:creator>
        <guid isPermaLink="false">21118@/forums/discussions</guid>
        <description><![CDATA[I've upgraded from version 15.05 to 19.04 and some reports are not loading (when I use TppDBPipeline master-detail out of the report). ]]>
        </description>
    </item>
    <item>
        <title>Multiple ODBC Connections</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21121/multiple-odbc-connections</link>
        <pubDate>Mon, 20 May 2019 20:36:18 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>sluser1</dc:creator>
        <guid isPermaLink="false">21121@/forums/discussions</guid>
        <description><![CDATA[Hi,

Is it possible to use multiple ODBC connections?

We'd like to include data from two databases, which are located on two separate machines.

Much appreciated!]]>
        </description>
    </item>
    <item>
        <title>Master Detail pipelines using stored procedures</title>
        <link>https://www.digital-metaphors.com/forums/discussion/21080/master-detail-pipelines-using-stored-procedures</link>
        <pubDate>Tue, 12 Mar 2019 16:24:16 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>scottb</dc:creator>
        <guid isPermaLink="false">21080@/forums/discussions</guid>
        <description><![CDATA[I have two pipelines in my report template, one is a detail dataset of the other (master).  The detail pipeline is actually a stored procedure and requires an input parameter which identifies the unqique master record value to run the report for.  The parameterized SQL does not help me, because I need the parameter in the input of the stored proc.

For example the stored procedure SQL looks like this:
Select * from GET_DETAIL_VALUES(:In_Master_Value)

If I use the parameterized SQL, it just appends a where clause on, but I have no way of adjusting the original parameter IN_MASTER_VALUE.

I have come to the conclusion that I should use an event of one of the data pipeline (onmasterrecordchanged, or ontraversal), but I dont know how to refer to the "built-in" data pipeline objects in code.  The pipelines are not on a delphi form, they are built into the template file.

Any help would be appreciated

Scott]]>
        </description>
    </item>
    <item>
        <title>SELECT TOP 0  better than SELECT WHERE 'C'&lt;&gt;'C'</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20894/select-top-0-better-than-select-where-cc</link>
        <pubDate>Wed, 23 May 2018 12:10:03 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>wilton_rad</dc:creator>
        <guid isPermaLink="false">20894@/forums/discussions</guid>
        <description><![CDATA[
we know that the report builder before executing the report executes a select * from table where 'c' &lt;&gt; 'c', it would be interesting to change this concept, and to use a select top 0, because this has a much greater performance. the command and run in a view

in views that contain many unions the use of 'c' &lt;&gt; 'c' and extremely detrimental to the performance of the report

I changed the sources of the report builder by adding the TOP 0 and removing where 'c' &lt;&gt; 'c', but it would be nice if this were native in future versions, see in the comparative images


<img src="http://www.radinfo.com.br/instaladores/printselecttable.png" alt="image" />

<img src="http://www.radinfo.com.br/instaladores/printselectview.png" alt="image" />]]>
        </description>
    </item>
    <item>
        <title>Manual SQL Parameter to Subquery</title>
        <link>https://www.digital-metaphors.com/forums/discussion/20848/manual-sql-parameter-to-subquery</link>
        <pubDate>Tue, 10 Apr 2018 13:23:55 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>aduna</dc:creator>
        <guid isPermaLink="false">20848@/forums/discussions</guid>
        <description><![CDATA[Hello World

I have two database tables, one of them with our articles, and the other with parent-child combinations.
Now I try to show the whole article tree. We made two queries, in the main query we get the one parent article.
In the second query, we get recoursively all childs and child-childs and so on.

Now our problem:
In the first query, I get the article id, which I need in the second query, to get the right childs.
Normally I define the second query option "Linking SQL Generation" as "Parameterized SQL" and the article id form the parent query will be passed correctly to this subquery's where clause,
but because of the complex recursively SQL statement, the report builder cannot build the subquery's where clause correctly, or rather to the right position.
So I try now to use the subquery's "Linking SQL Generation" option "Manual SQL", so that I can handle the article id parameter by myself. So I defined a parameter and include this in our second query's where clause.
But the subquery does not care, when I change the parameters value. I set the parameter on the "AfterOpenDataPipelines" event, but this is too late, because the subquery is loaded also already.

I cannot find a function which will execute after the main query and before the subquery, to set my article id parameter, is there one such?...

Or the second solution could be, to reload the subquery in the event "AfterOpenDataPipelines", but how to?...

We use the ReportBuilder Enterprise Edition with Version 19.0 Build 76.

Can somebody help me?]]>
        </description>
    </item>
    <item>
        <title>Parameter object is improperly defined</title>
        <link>https://www.digital-metaphors.com/forums/discussion/504/parameter-object-is-improperly-defined</link>
        <pubDate>Thu, 13 Jul 2017 08:53:54 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>rbuser</dc:creator>
        <guid isPermaLink="false">504@/forums/discussions</guid>
        <description><![CDATA[I'm running Delphi XE, RB 18.0 build 369, MySQL 5.7, and the 
Connector.ODBC 5.3.

I have a template with a lot of views over in the data tab.  There are 
13 links to other tables.  With those links in place, I get the message 
that the "Parameter object is improperly defined.  Inconsistent or 
incomplete information was provided" when I go to preview.  Apparently, 
some of these links are causing problems, as when I start removing those 
links, I can eventually get it to where I stop getting that error. 
Although it's distressingly inconsistent how many links I need to remove 
after reloading the template before it will 'successfully' run.

So, is there some issue with too many linked tables?  I apologize for 
the nebulous nature of the issue - it's been a pain trying to track down 
as well, and I haven't been able to rebuild the program in a way I can 
intercept the queries, due to not having the ra*.pas units to rebuild 
the RB units in debug.
]]>
        </description>
    </item>
    <item>
        <title>Multiple instances of datamodule with report loadin .rtm file using wrong pipeline</title>
        <link>https://www.digital-metaphors.com/forums/discussion/505/multiple-instances-of-datamodule-with-report-loadin-rtm-file-using-wrong-pipeline</link>
        <pubDate>Thu, 23 Feb 2017 08:55:11 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>rbuser</dc:creator>
        <guid isPermaLink="false">505@/forums/discussions</guid>
        <description><![CDATA[Hello,

I have an issue where we have multiple instances of a datamodule that 
contains a TppReport a designer and pipelines.

When loading a rtm file into the TppReport and then printing the report the 
pipeline being used by the report is from a different instance to the 
TppReport parent module.


There are multiple pipelines in instantiated with the same pipeline name but 
with different parent instances.

Is there already an accepted solution for this?
Can make the load process use the pipelines from the TppReport parent in 
preference over other of the same name that exist?

Thanks

Steve 
]]>
        </description>
    </item>
    <item>
        <title>Query use in pipeline?</title>
        <link>https://www.digital-metaphors.com/forums/discussion/506/query-use-in-pipeline</link>
        <pubDate>Wed, 19 Oct 2016 06:12:02 +0000</pubDate>
        <category>Datapipelines</category>
        <dc:creator>rbuser</dc:creator>
        <guid isPermaLink="false">506@/forums/discussions</guid>
        <description><![CDATA[Hello,

   Using RB 17.03 in Delphi 10.1. I am connecting my reports to a 
DBPipeline (SQLite) which contains a query. This seems to work better 
for me than connecting to the DB in the report designer and running the 
query there. Just because I want some calculated fields that need lots 
of freedom (various variable and data access) to calculate in the code 
of main program.

  That works, but gives a background to the question. I have a simple 
query that includes all the fields (regular and calculated) I need for 
about 20 or more reports. Now in each of those reports, I access the 
data detail in the designer. BEFORE I run the report in my delphi form, 
I re-run the same query - BUT depending on the report, with different 
sorts and filters than the original query used to set up the design. 
This WORKS, but my question is whether this is SAFE and efficient??

  The reason I do it this way is that I need only one query in my 
datamodule to maintain, and then depending on which of many reports I 
run, I can change the filtration (WHERE clauses) and sort orders by 
re-stating the SQL text.

  Related question to the efficiency part - speed is not too bad, but am 
I running the entire query an extra time during run time? Would it help 
speed to add a WHERE clause to the query in the data module ensuring 
hardly any data is selected, since the real data selection occurs just 
before the report is run?

Scott
]]>
        </description>
    </item>
   </channel>
</rss>
