CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Using an SP to return data

Print topic Send  topic

Author Message
Steve
Posted: 09/19/2002, 1:59 PM

Hi Guys,

I want to use an SP to return data used in an object generated by the record builder. I can generate the call to the sp easily enough, but have no idea how to tell the various fields where they get their values from.

As usual, a lengthy read of the documentation has proved fruitless!

TIA Steve
eDuck
Posted: 09/19/2002, 3:21 PM

Once you have a valid Stored Procedure, all you need to do is change your source table for the form to Procedure, instead of table. This will then pick up the fields from the stored procedure, exactly as would if you connected directly to the table.

There is one catch however in CCS as far as SQL (MS-SQL I suppose). When you enter the SQL SP, it will look for any INPUT or OUTPUT values that the SP requires, and in addition, it will also have a value for @RETURN_VALUE. If you do something with this value, then keep it, otherwise, simply delete it from the param list.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.