[개발] 프로그램 지식

[ozReport] 오즈 스크립트 참고

  • -
반응형


GetDataSetRowIndex
데이터셋의 현재 레코드 커서 인덱스를 가져옵니다.

integer GetDataSetRowIndex
(
        [ string DataSetPath ]
)





GetDataSetRowCount
데이터 개수를 가져옵니다.

integer GetDataSetRowCount
(
        [ string DataSetPath ]
)







SetText
텍스트를 설정합니다.

void SetText
(
       string Text
)








GetComponentByName
해당 이름의 컴포넌트를 가져옵니다.

object GetComponentByName
(

        string ComponentName
)








GetDataSetValue
해당 필드에 대한 데이터 값을 가져옵니다.

var GetDataSetValue
(
        string FieldPath,
        [ integer RowIndex ],
        [ bool IgnoreGrouping ]
)









예시)
if (This.GetDataSetRowIndex("데이터셋명") < (This.GetDataSetRowCount("데이터셋명")) ){
	This.SetText(This.GetDataSetValue("데이터셋명.컬럼명", This.GetDataSetRowIndex("데이터셋명")+1));
	This.GetComponentByName("컴포넌트명").SetText(This.GetDataSetValue("데이터셋명.컬럼명", This.GetDataSetRowIndex("데이터셋명")+1));
	This.GetComponentByName("컴포넌트명").SetText(This.GetDataSetValue("데이터셋명.컬럼명", This.GetDataSetRowIndex("데이터셋명")+1));
}
반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.