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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

call PL/SQL functions outside SQL Expressions?

Status
Not open for further replies.

GretaD

Programmer
Joined
Mar 7, 2006
Messages
18
Location
NO
Hi

Do anyone know if it is possible to call PL/SQL functions outside SQL Expressions? I have a PL/SQL function where I want to send in the parameterfield I get in the report as a parameter to the function. That does not seem to be possible in SQL expressions...

I use Crystal Reports XI and Oracle 9 database.

Thanks!
Greta
 
In Crystal 10, I've found that SQL won't allow a parameter in DATEADD, but you can get the same result by compairing the results of DATEDIFF to a parameter value. That was in a Stored Procudure, but an SQL Expression should be the same.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top