Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 10 Jul 2007 at 9:17am
I don't know how to dynamically change the WHERE clause in SQL. You can use parameters to pass different values to the WHERE clause, but not actually change the conditions in it. However, there is a command in SQL to excecute a string value. I forget what it it is, but you could research it and see if you can put that in a SQL Command object so that you can enter a string parameter in the report and SQL will execute it for you. It's a long shot, but something worth researching.
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