top of page
Search
  • ABS

Crystal Report - How to pass multi value parameter in crystal report with store procedure

Parameter: select multi customer for report

1. Create store procedure :

create proc report

@CardCode nvarchar(max)

as

select * from ocrd where CHARINDEX(CardCode, @CardCode) > 0

2. Create blank crystal report

+ Add parameter for cardcode, set multi value as true

+ Change para name to CardCode@Select CardCode, CardName from OCRD

+ Add formular Multicardcode, set formular: join({rpt.CardCode},":")

3. Add Sub report

+ Calling Store Procedure above in this sub report

+ Link fomular Multicardcode From Father report, to @CardCode of Sub Report

4 views0 comments

Recent Posts

See All

SAP B1/iVend- Query Inventory In SAP

Check inventory audit in SAP select  a.CreateDate, b.USER_CODE as [User], a.TransType SAP_DocType, case when a.TransType = 13 then  'Sale Invoice' when a.TransType = 14 then  'Sale Credit Note' when a

ivend-SAP Integration Monitor from SBO to ivend Query

Select IntegrationKey,Cast(SourceType AS Varchar(20)) As SourceType,SourceKey, OperationType, isNull(LogDatetime, getdate()) As LogDatetime, Case isNull(Status, 0) When 0 Then 'Not Processed' Else 'Fa

Post: Blog2_Post
bottom of page