Focal Point
[CLOSED] Report using Stored Proc with Parameters

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

May 03, 2011, 10:20 AM
Bramo
[CLOSED] Report using Stored Proc with Parameters
Hi,

I'm a new Webfocus programmer and I’m trying to figure out how to create a synonym for a stored proc using the GUI tools in studio …. It’s asking me to provide a value for all its parameters …
But the thing is that I don’t know what the user will select as input parameters … It’ll be a textbox or select list etc …

So I need some help on this one.

Thanks,
Bramo Girgi
Outbox Technology

This message has been edited. Last edited by: Kerry,
May 03, 2011, 05:47 PM
Waz
Have you created the synonym ?

You can also call the Proc with:
SQL {your source}
{call} ;
END

There are many examples in the forum.

Check the documentation on creating synonyms for stored procs.


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!

May 04, 2011, 09:41 AM
Ramkumar - Webfous
Whatever, You have to give all the parameters to SP while creating a Synonym... If user is not keying in or selecting any params pass it as NULL or '' as needed, to the SP....

But the parameters, the number of parameters to the SP is going to be static any way...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5