Quantcast
Viewing all articles
Browse latest Browse all 9656

Help Reuse One report with new Tables

I have to make several hundred reports.  They all are similar but use different tables.  They all contain formulas that are the same just different data, for example

 

Well30/Pump1/Runtime:Maximum

 

Then on the next report it will be

 

Well8/Pump1/Runtime:Maximum

 

I'm trying to save myself the trouble and make one fancy parametrized report that when I open it I select the tables I want, well 8 runtime, starts, and it fills the report and I save it with those tables.  Run it again select well 30 table, runtime, starts, fills the report and save it with those tables.

 

I'm trying not to spend an entire week manually replacing tables and rewriting equations.  I have watched all the videos on parameters and I can't figure it out.  I found this suggestion online:

 

"Actually, you can do this if you use a command as your datasource. Open a blank report->select "add command" at the top of the table list, and then create a string parameter within the command (on the right). Then set up the command like this:

 

Select {?table}.`field1`, {?table}.`field2`

from {?table}

 

Or even more simply (if you are only using one table):

 

Select `field1`, `field2`

from {?table}

 

The punctuation depends upon your datasource."

 

But I can't get that to work either.  It tells me it can't find the table name.  Plus even once it added the table name then how can I tell it to put this value here and this value here, especially in a formula.  It doesn't help that my table names are super long.  Is there someway to refer to them shorthand,  I cant change my ODBC formatting so they are stuck long for now.  Just take a look at image and you will see what I mean by long names and how I need to just swap out the tables for new ones, keep the formulas somehow, and make bunch of reports.

 

I'm a bit desperate at this point I tried to contact chat support today but they didn't seem to understand what I wanted to how to explain to do it. 

 

Image may be NSFW.
Clik here to view.

 

Image may be NSFW.
Clik here to view.

 

Any help would greatly appreciated!!!!

 

Thanks

 

Robert


Viewing all articles
Browse latest Browse all 9656

Trending Articles