Can you call a SQL Server function from Crystal 8.5? I can't use stored procedures in my environment, so have created a SQL Server function that accepts a parameter and returns a single value. However, I can't see that function in the Database window of Crystal, so can't use it.
I've also tried using the function in an SQL expression in Crystal, like:
(select id from dbo.fx_Contact.ID('X4953A'))
This does work, but I have to hardcode the parameter. What I'd like to do is pass in the current id, like
(select id from dbo.fx_ContactDascoID(CONTACT."ID"))
but the expression won't accept variables.
Thanks.
I've also tried using the function in an SQL expression in Crystal, like:
(select id from dbo.fx_Contact.ID('X4953A'))
This does work, but I have to hardcode the parameter. What I'd like to do is pass in the current id, like
(select id from dbo.fx_ContactDascoID(CONTACT."ID"))
but the expression won't accept variables.
Thanks.