Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 04 Apr 2014 at 7:03am
In the parameter properties I believe you have to set Optional=True
That said, if you looka the below it is not checking the DB for the field to be ="", it is checking the parameter value to be "" which is similar to your "else 1=1".
That got it to work in Crystal but when I move the Crystal file over to the reports directory for the vendor software it doesn't work. Is that something that will only work in the Crystal environment?
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 04 Apr 2014 at 8:43am
Not sure I can answer that.
I assume the software has its own custom interface to run the reports and input the parameters so I don't know how that was written or if the custom interface accepts the blanks/nulls in the params.
I didn't think of that. The problem is solved by them having a standard report that already did the "all" part so I made this parm field required so they can't get back an empty report.
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