Joined: 16 Sep 2007
Location: United States
Online Status: Offline
Posts: 15
Topic: crystal report parameters Posted: 09 Oct 2007 at 7:51pm
Hi and Good day!
Is there a way I could embed parameter in a sql command straight in the form, instead of calling a Stored Procedure. It would be helpful to lessen the creation of Stored Procedure for every report that uses parameters.
Can I ask for some example codes. I'm writing codes in C#. Thanks!
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 10 Oct 2007 at 10:32am
You can use ADO.NET with a SQL string in the Command object. Just make it all one string and include the parameter values in the string.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum