Hi
Can anyone tell me the syntax for passing a SF string to a report?? I need to send 4 parameters to a table in the
web report in the following fashion:
select a,b,c,d
from table where
(a,b,c,d) in (1,'xyz',1,1)
I want to know how to pass such a combination of columns in the where clause for crystal to make sense.I am trying to build this string in javascript.
For example like:
sfsring ='{'+table+'.a,'+table+'.b,'+table+'.c,'+table+'.d} in [(1,"xyz",1,1),(1,"pqr",1,1)]'
basically,I am desperately trying to pass
" (a,b,c,d) in (1,'xyz,1,1) " to a SF field (sent as a hidden type ) submitted to the report.
I hope I am clear.Any help is hugely appreciated.
Thanks
donv
Can anyone tell me the syntax for passing a SF string to a report?? I need to send 4 parameters to a table in the
web report in the following fashion:
select a,b,c,d
from table where
(a,b,c,d) in (1,'xyz',1,1)
I want to know how to pass such a combination of columns in the where clause for crystal to make sense.I am trying to build this string in javascript.
For example like:
sfsring ='{'+table+'.a,'+table+'.b,'+table+'.c,'+table+'.d} in [(1,"xyz",1,1),(1,"pqr",1,1)]'
basically,I am desperately trying to pass
" (a,b,c,d) in (1,'xyz,1,1) " to a SF field (sent as a hidden type ) submitted to the report.
I hope I am clear.Any help is hugely appreciated.
Thanks
donv