• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
조회 수 : 4882
2010.09.15 (19:14:47)
:IN_USERID,
:IN_SALACCUNT,
:ls_Usertpid,
:IN_USERNAME,
:IN_ENTDAY,
:IN_PHONE,
:IN_JUMINNO,
:IN_USERID2,
위의 변수에 NULL 갑시 들어 있는지 확인 하시면 됩니다.


>게시판을 이용해 주셔서 감사합니다.
>다음양식에 맞게 입력해주세요.
>
>* 고객시스템명 : 신세계I&C
>* TOInB 버전 : 4.0
>* 서버 Platform : 유닉스
>* 문의 유형(질문/요청/참조) : 질문
>* 내용 :
>for(i=1; i <= TBL_GetRowCnt ("input1"); i++) {
>                memset (ls_Namechk , 0x00, sizeof (ls_Namechk));
>                memset (ls_Usertpid , 0x00, sizeof (ls_Usertpid));
>                
>                TBL_DatasetGetColStr ("input1", i, "NAMECHK", ls_Namechk, sizeof (ls_Namechk), TB_STRING);
>        TBL_DatasetGetColStr ("input1", i, "USERTPID", ls_Usertpid, sizeof (ls_Usertpid), TB_STRING);
>
>                if (strcmp (ls_Namechk, "T") == 0) {
>                        TBL_Prn (tb_stderr, "i : %d", i);
>                        TBL_Prn (tb_stderr, "IN_USERID : %s", IN_USERID);
>                        TBL_Prn (tb_stderr, "IN_SALACCUNT : %s", IN_SALACCUNT);
>                        TBL_Prn (tb_stderr, "ls_Usertpid : %s", ls_Usertpid);
>                        
>                        EXEC-SQL
>                        INSERT INTO NAP866T
>                        (
>                                USERID,
>                                SALACCUNT,
>                                USERTPID,
>                                USERNAME,
>                                USECHKSW,
>                                ENTDAY,
>                                RETSW,
>                            PHONE,
>                                JUMINNO,
>                                REGMAN,
>                                REGDAY,
>                                LEVELFG,
>                                SUPERFG
>                        )
>                        VALUES
>                        (
>                                :IN_USERID,
>                                :IN_SALACCUNT,
>                                :ls_Usertpid,
>                                :IN_USERNAME,
>                                0,
>                                :IN_ENTDAY,
>                                0,
>                                :IN_PHONE,
>                                :IN_JUMINNO,
>                                :IN_USERID2,
>                                SYSDATE,
>                                '0',
>                                'N'
>                        );
>                }
>        }
>
>이렇게 해서 입력을 하려고 하는데 에러가 발생하네요
>
>이유가 뭘까요?
 
Tag List
XE Login