728x90

Programming/PowerBuilder 19

패스워드 유효성 체크 스크립트

[ 로그인시 패스워드 유효성 체크 하는 방법 ] if not match(newpw, "[a-zA-Z0-9!@#$%^&*]") then messagebox("알림","비밀번호는 숫자,문자, 특수문자 조합입니다(!@#$%^&*)!!!" + newpw) dw_pw.setfocus() dw_pw.setcolumn("changepw") return else if not match(newpw,".*[a-zA-Z]") or not match(newpw,".*[0-9]") or not match(newpw,".*[!@#$%^&*]") then messagebox("알림","최소 하나의 숫자와 문자, 특수문자(!@#$%^&*)가 포함되어야 합니다!!!" + newpw) dw_pw.setfocus() dw_pw.setco..

셈플러스데이타가공(txt file -> DB)

txt파일을 읽어서 해당 필요한 항목을 db에 저장하기 [ 업로드 버튼에 스크립트 작성 ] - tb_29002 : txt file upload - tb_29001 : txt file의 내용중 필요 항목을 가져와서 저장 Long ll_rtn String ls_dt, ls_name, ls_null Double ll_cnt, ll_rc, i, j, ll_div String ls_trans_data, ls_busi_no, ls_tran_dt, ls_card_div, ls_sale_div, ls_sale_dt, ls_sale_amt, ls_fee_amt, ls_ori_sale_dt String ls_card_no pointer oldpointer Setnull(ls_null) oldpointer = SetPoin..

사업자번호 유효성체크

[ 파워빌더에서 사업자번호 유효성 체크 하는 방법] integer li_Sum = 0 , li_Save = 0 // Null Check if isNull(sId) then Return -1 // 자리수 chk : 10자리 , 12자리('-' 포함) if Not ( ( Len(sId) = 12 ) or ( Len(sId) = 10 ) ) then Return -1 // '-' 제거 if Len(sId) = 12 then sId = Left(sId,3) + Mid(sId,5,2) + Right(sId,5) end if // 숫자 이외의 문자 Check if Not IsNumber(sId) then Return -1 // 합계 li_Sum = ( Integer(Mid(sId, 1, 1)) * 1 ) + & (..

column 이름을 직접 입력하지 않고 displayonly 처리 하는 방법

column 이름을 직접 입력하지 않고 displayonly 처리 하는 방법 Integer li_entry_colcount, i String colvariable, colname, ls_value li_entry_colcount = integer(dw_entry.describe('DataWindow.Column.Count')) FOR i = 1 TO li_entry_colcount colvariable = '#'+string(i)+'.name' colname = dw_entry.describe(colvariable) ls_value = colname+".Edit.displayonly=YES" dw_entry.modify(ls_value) NEXT

파워빌더 배포 파일 목록

파워빌더 배포파일 목록 파워빌더 2005/07/12 16:00 http://blog.naver.com/wondy7/60014938657 > PowerBuilder7.0 Runtime Files : 파워빌더7.0으로 구현된 애플리케이션을 배포할때 필요한 런타임 파일 목록입니다. PBVM70.DLL : 모든 애플리케이션에 필요 LIBJCC.DLL : 모든 애플리케이션에 필요 PBDWE70.DLL : 데이터윈도우나 데이터스토어를 사용할 경우 필요 PBRTC70.DLL : 데이터윈도우 프리젠테이션 스타일이 리치텍스트(RichText)일 경우 필요 PBAEN70.TLB : 파워빌더 애플리케이션을 사용하는 OLE 오토메이션서버에 필요 PBFNT70.INI : 파워빌더에서 제공되지 않는 폰트를 매핑(Mapping)할..

728x90