... I set the rowsource to an inline user defined function and concatenate the parameter in and requery."
how do you call a SP in a user defined function? "exec" ar "call" don't work.
this is the code i wrote:
CREATE FUNCTION dbo.c_sel_produs_comF_f
(@furnizor char(14), @data_doc smalldatetime, @tip char(1))
RETURNS TABLE
AS
RETURN
exec dbo.c_sel_produs_comF @furnizor, @data_doc, @tip
where dbo.c_sel_produs_comF is the SP i whant to use.