Focal Point
[SOLVED] Values to be passed to second Table

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3267027895

February 14, 2011, 04:20 PM
subhash
[SOLVED] Values to be passed to second Table
Hi All,

I have a call string which returns a variable and I'm holding it in a table.
Then I'm calling another procedure(Main RPC) and holding it in another temp table.

When i'm trying to print values, I'm using second table to print values, but i need one value to be passed from my first table. I don't want to join the tables. Can I pass the value from first table to second one. Can anyone help me out. Thanks

This message has been edited. Last edited by: Kerry,


7.6.4,unix
all output
February 15, 2011, 01:57 AM
Ramkumar - Webfous
-READ the variable from First Table.

Assign it to any Dialog Variable &XX

Then assign the Same to a virtual DEFINE Field in Second Table.

If The column is going to have more than one distinct values, You need to do some manipulation with -REPEAT as well.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
February 15, 2011, 03:34 PM
Waz
When you are taling about tables, are these separate WebFOCUS Calls, or in the same procedure.

If the other prodecure -INCLUDED or EX'ed ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 16, 2011, 10:24 AM
Dan Pinault
Ramkumar,

Do a search for the terms SAVE and READ and you should find plenty of information on how to accomplish this.

Dan


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
February 16, 2011, 10:37 AM
subhash
Waz,

These are seperate Webfocus calls(RPC calls).
In the 1st table, the values are coming from 1st RPC and 2nd table, the values are coming from 2nd call.


7.6.4,unix
all output
February 16, 2011, 03:43 PM
Waz
I think that you have two options.

1. Use FOCCACHE, you could hold the value in a temporary table. These exist for the session, I thin be default they expire after a day.

2. Create a hidden field in the first report that holds the value, this will be passed back to WebFOCUS as an amer variable.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 16, 2011, 04:26 PM
subhash
[Solved]It got solved. I used READ and SET to accomplish this. Thanks for your help.
Enjoy Webfocussing......


7.6.4,unix
all output