반응형
this.데이터셋명.setRowType(0,4); // 행 0의 ROWTYPE을 수정상태로 만든다.
this.데이터셋명.getRowType(i); // 행 i 의 ROWTYPE을 가져온다.
알다시피 넥사크로에서는 row 의 수정, 삭제 등을 감지하여 해당 값만 가져오면 INSERT, UPDATE,DELETE 중 어떤 것을 사용해야하는지 알 수 있다.
ROW 상태로 작성하면 알아볼 수 있지만, 값으로 입력하면 알아보기 어려워 이에 대해 찾아보았다.
ROWTYPE_EMPTY | 0 |
ROWTYPE_NORMAL | 1 |
ROWTYPE_INSERT | 2 |
ROWTYPE_UPDATE | 4 |
ROWTYPE_DELETE | 8 |
ROWTYPE_GROUP | 16 |
출처
https://www.playnexacro.com/#show:learn:4603
반응형