Still using CR7 - yes it's old but is adequate for us.
Having BIG problems persuading optional parameters as part of selection formula to be pushed to server side processing, ie it won't go in where clause of show sql query and thus does a lot of extra processing.
I have a parameter that can either be ALL or a selected record id (4 characters text).
I have exhausted all the known ways I have found on various forums, blogs, etc using loads of combinations of IF, ELSE, OR, AND, etc and it just refuses to work.
Any ideas?
I have tried;
if {?param}="ALL" then
true
else
{Table.Field} = {?param}
also tried;
{?param} = "ALL"
or
{Table.Field} = {?param}
also tried about another 10 different ways. It's my bet that CR7 is just too old and does not push as much as newer versions.
We are using Access databases via an ODBC link.
If anyone has knowledge, specially of CR7 and pushing these types of parameters to sql where command, then you will make my day.
Having BIG problems persuading optional parameters as part of selection formula to be pushed to server side processing, ie it won't go in where clause of show sql query and thus does a lot of extra processing.
I have a parameter that can either be ALL or a selected record id (4 characters text).
I have exhausted all the known ways I have found on various forums, blogs, etc using loads of combinations of IF, ELSE, OR, AND, etc and it just refuses to work.
Any ideas?
I have tried;
if {?param}="ALL" then
true
else
{Table.Field} = {?param}
also tried;
{?param} = "ALL"
or
{Table.Field} = {?param}
also tried about another 10 different ways. It's my bet that CR7 is just too old and does not push as much as newer versions.
We are using Access databases via an ODBC link.
If anyone has knowledge, specially of CR7 and pushing these types of parameters to sql where command, then you will make my day.