Hi there,
If you want to use a stored procedure, first create that procedure in SQL Server.
Next, open your report and switch to the Data tab. Click the button with the three ellipses (Edit Selected DataSet), choose StoredProcedure from the Command type drop-down and click OK.
The toolbar of the Data tab changes and displays a drop-down with all your procedures. Choose your procedure from the drop-down.
From this point on, things are pretty much the same as with a direct SQL statement.
Hope this helps,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Pretty by
KoRn (Track 8 from the album:
Follow The Leader)
What's This?