I am calling a stored procedure from my report and passing in two parameters. The first parameter is a SQL tinyiny, the second parameter is a SQL user defined data type named [OMS].[Lot_Number]. The data type is actually of type char(10). In any case, when I attempted to programically set the parameter of the lot_number, and end users attempt to view the report, the query disregards the parameter.
To make this even more strange, when the developers run the exact code, the report functions as designed.
So after spending several, SEVERAL hours looking into the issue and passing blame amongst others in my IT department, I removed the user defined data type and defined it as char(10). When the end users ran the report, the report finally produced the correct data.
This here is where I ask, does the report engine accept user defined data types and if so, how to pass the parameter to the stored procedure?
I appreciate your help.
Regards,
Bob
To make this even more strange, when the developers run the exact code, the report functions as designed.
So after spending several, SEVERAL hours looking into the issue and passing blame amongst others in my IT department, I removed the user defined data type and defined it as char(10). When the end users ran the report, the report finally produced the correct data.
This here is where I ask, does the report engine accept user defined data types and if so, how to pass the parameter to the stored procedure?
I appreciate your help.
Regards,
Bob