VistA Analysis » VistA Reference » RPCs » ORWRP COLUMN HEADERS

ORWRP COLUMN HEADERS

Get list of Column headers for a ListView type report from file 101.24.

Properties

Property Value
Label GETCOL
MUMPS Implementation ORWRP
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
IFN LITERAL   true  

MUMPS Method Description

Property Value
Method GETCOL^ORWRP
Method Comment get Column headers for ListView
Input Parameters IFN
Code
 N I,J,X,VAL
Q:'$G(IFN)
S I=0,ROOT=$NA(ROOT)
F S I=$O(^ORD(101.24,IFN,3,"C",I)) Q:'I D
. S VAL=$$GET^XPAR(DUZ_";VA(200,","ORWCH COLUMNS REPORTS",IFN,"I"),J=0
. F S J=$O(^ORD(101.24,IFN,3,"C",I,J)) Q:'J I $D(^ORD(101.24,IFN,3,J)) S X=^(J,0) D
.. I $L(VAL),$P(VAL,",",I) S $P(X,"^",10)=$P(VAL,",",I)
.. D SETITEM(.ROOT,X)

CPRS

File Type Description
Pascal File rReports.pas


Document generated on August 31st 2022, 2:55:43 pm