Is there any way that I can copy a data provider within a single document ? Much of the criteria for the second data provider is the same as the first data provider and I’d hate to have to key it all in again.
Have you tried inserting a new table into the document and selecting all the objects from the current data provider or going to the bottom left corner (“Report1” tab), right click, and selecting Duplicate Report?
George Baranowski
Is there any way that I can copy a data provider within a single document ? Much of the criteria for the second data provider is the same as the first data provider and I’d hate to have to key it all in again.
I haven’t stated my issue very well. What I need is to write a separate query against the database (within the same document) that is very similar but not exactly the same as the first.
Have you tried inserting a new table into the document and selecting all the objects from the current data provider or going to the bottom left corner (“Report1” tab), right click, and selecting Duplicate Report?
George Baranowski
Is there any way that I can copy a data provider within a single document ? Much of the criteria for the second data provider is the same as the first data provider and I’d hate to have to key it all in again.
I have had that need many times before but have not as yet found any way to accomplish it. I think I tried about everything!! If anyone knows how to do this, it would be great!!
[Carter, Maria]
I haven’t stated my issue very well. What I need is to write a separate query
against the database (within the same document) that is very similar but not
exactly the same as the first.
I don’t think you can do that. What you may have to do is just make your first query more generic so it can be used for both report objects (table/crosstab/chart/etc) and use filtering at the report level.
For example, if you had the query:
SELECT A, B FROM T1 WHERE C=10
and you wanted to copy and modify this query so that it said:
SELECT A, B FROM T1 WHERE C=15 AND D=1
then what you may have to do is create a more generic query:
SELECT A, B, C, D FROM T1
When you create Table1 from this query, you would apply the filter C=10, and when you create Table2 you would appy the filters C=15 and D=1.
I haven’t stated my issue very well. What I need is to write a separate query
against the database (within the same document) that is very similar but not
exactly the same as the first.
Is there any way that I can copy a data provider within a single document ? Much of the criteria for the second data provider is the same as the first data provider and I’d hate to have to key it all in again.
Thanks,
Matthew
Matt,
There are a number of us that here that wish you could do so, but you cannot create a new data provider by first creating a copy of an existing one and then editing same.
Is there any way that I can copy a data provider within a single document
?
Much of the criteria for the second data provider is the same as the
first
data provider and I’d hate to have to key it all in again.
Maybe I’m missing something here, but can’t you just go in to edit the original data provider, highlight all the text that you want to copy and press Cntrl+Insert to copy it. Create your second data provider and Shift+Insert to paste what you just copied into the new query box and then make whatever modifications you need to make.
I haven’t stated my issue very well. What I need is to write a separate query against the database (within the same document) that is very similar but not exactly the same as the first.
Can I copy the data provider and modify it ?
Unfortunately, this is not possible in the current version. I will put this as en Enhancement Request…
W.
DI Walter Muellner
Delphi Software GmbH, Vivenotgasse 48, A-1120 Vienna / Austria Tel: +43-1-8151456-12, Fax: +43-1-8151456-21 e-mail: w.muellner@delphi.at, WEB: http://www.delphi.at
I do not believe any of the methods suggested would allow you to reproduce the graphical interface to your universe so you could just drag and drop new objects and conditions to that panel. All suggestions made would deal with script or SQL…
I (and.I believe Matt) just want to be able to “clone” the graphical interface part of the data provider.
Shannon Lee Wittal swittal@qgraph.com
I have about 5 reports in which I want to add 2 new data provider. Is there a way that I can copy an existing data provider and make some minor changes to it and then rename it within the report.
Please let me know any suggestions that you might have. I am trying to meet a deadline.
In a message dated 00-03-22 09:36:32 EST, you write:
I have about 5 reports in which I want to add 2 new data provider. Is there
a way that I can copy an existing data provider and make some minor changes to it and then rename it within the report.
Glenn Fredericks, a fellow “list person”, has contributed a script to do just this. You can find his scripts at our web site, on the page listed below:
He has two scripts, one to duplicate a data provider from one document to another, which is not the one that you need, and one to duplicate a data provider within the same document. That should do the trick!