Using LIKE in Multi-Value Parameter in Crystal Reports 2011 -
Using LIKE in Multi-Value Parameter in Crystal Reports 2011 -
i developing study in crystal reports 2011 has 3 sub-reports pulling info 3 different databases. have multi-value parameter (string) in main study passes input values 3 sub-reports have same multi-value string parameter.
sample input values are:
p000000030, p000000930, p000001730
the user not want input leading alpha character , preceeding zeroes. want input following:
30, 930, 1730
the sub-report pulls of records if user puts entire string value in next record selection criteria, not work partial strings input:
{command.puchase order} in {?pm-?reference}
can advise syntax needed pull info in subreport substrings inputs?
thanks in advance!
thank input guys!! took bit , came next solution:
create column in datasource trimmed out desired value --> ltrim(regexp_replace(a."po_num",'p',''),'0') "puchase order2" modified record selection criteria select either column --> {command.puchase order} in {?pm-?reference} or {command.puchase order2} in {?pm-?reference}i appreciate input! able deliver desired solution aid.
crystal-reports
Comments
Post a Comment