Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Derived table, UDF , Prompts

Status
Not open for further replies.
Mar 6, 2008
56
US
Hi guys,

In our company we have been using prompts in the derived tables. Derived table would return Single final select statement. Now that report requirements are complex we would have to use table variables, UDFs, and many select, delete, update statements. How should we handle many such statements in a derived table to return a result set for the report?

If we cannot handle many selects in a derived table, I am hoping to use Table-Valued Function in the derived table something like this:

select * from myFunction()

create myFunction()
Returns Table as (......)

But then I should be able to use the user input prompts in the syntax: @PROMPT('test1','A',Multi,,). The user would input 5 such prompts from the report.

Any ideas from anyone who has used Prompts, UDFs in a derived table?

Environment: BO X1r2, Crystal x1r2, sql server 2005

Thanks !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top