'Powerbuilder/DataWindow'에 해당되는 글 26건
- 2010.12.23 datawindow 패러미터에 string을 array로 넘기기
- 2010.12.16 DataWindow에서 itemchanged를 바로바로 실행하기 위해서.
- 2010.12.13 DataWindow row, 컬럼 변경
- 2010.12.13 프린트 컬럼 위치 변경.
- 2010.12.03 itemchanged일때 컬럼 데이터 입력하기.
- 2010.06.09 Datawindow 변경상태 체크 Data Modified!
2010. 12. 23. 20:14
보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.
2010. 12. 16. 02:56
보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.
Powerbuilder/DataWindow2010. 12. 13. 20:06
Powerbuilder/DataWindow2010. 12. 13. 17:26
Case 'gbn2'
ls_gbn2 = func.of_nvl(this.GetItemString(row, 'gbn2' ), 'LEAC')
dw_main.SetRedraw(FALSE)
If ls_gbn2 = 'LEAC' Then
dw_main.Modify("t_leac.X='"+ String(Long(dw_main.Describe("t_prd.X")) + Long(dw_main.Describe("t_prd.Width")) + 13)+"'")
dw_main.Modify("t_leacnm.X='"+ String(Long(dw_main.Describe("t_leac.X")) + Long(dw_main.Describe("t_leac.Width")) + 13)+"'")
dw_main.Modify("t_dta.X='"+ String(Long(dw_main.Describe("t_leacnm.X")) + Long(dw_main.Describe("t_leacnm.Width")) + 13)+"'")
dw_main.Modify("leac.X='"+ String(Long(dw_main.Describe("prd.X")) + Long(dw_main.Describe("prd.Width")) + 13)+"'")
dw_main.Modify("leacnm.X='"+ String(Long(dw_main.Describe("leac.X")) + Long(dw_main.Describe("leac.Width")) + 13)+"'")
dw_main.Modify("dta.X='"+ String(Long(dw_main.Describe("leacnm.X")) + Long(dw_main.Describe("leacnm.Width")) + 13)+"'")
dw_main.SetSort("dcd asc, leac asc, dta asc")
dw_main.Sort()
ElseIf ls_gbn2 = 'DTA' Then
dw_main.Modify("t_dta.X='"+ String(Long(dw_main.Describe("t_prd.X")) + Long(dw_main.Describe("t_prd.Width")) + 13)+"'")
dw_main.Modify("t_leac.X='"+ String(Long(dw_main.Describe("t_dta.X")) + Long(dw_main.Describe("t_dta.Width")) + 13)+"'")
dw_main.Modify("t_leacnm.X='"+ String(Long(dw_main.Describe("t_leac.X")) + Long(dw_main.Describe("t_leac.Width")) + 13)+"'")
dw_main.Modify("dta.X='"+ String(Long(dw_main.Describe("prd.X")) + Long(dw_main.Describe("prd.Width")) + 13)+"'")
dw_main.Modify("leac.X='"+ String(Long(dw_main.Describe("dta.X")) + Long(dw_main.Describe("dta.Width")) + 13)+"'")
dw_main.Modify("leacnm.X='"+ String(Long(dw_main.Describe("leac.X")) + Long(dw_main.Describe("leac.Width")) + 13)+"'")
dw_main.SetSort("dcd asc, dta asc, leac asc")
dw_main.Sort()
End If
dw_main.SetRedraw(TRUE)
Powerbuilder/DataWindow2010. 12. 3. 19:01
Powerbuilder/DataWindow2010. 6. 9. 22:34
This statement sets the status of row 5 in the Salary column of the primary buffer of dw_history to NotModified!:
dw_history.SetItemStatus(5, "Salary", &
Primary!, NotModified!)
This statement sets the status of row 5 in the emp_status column of the primary buffer of dw_new_hire to DataModified!:
dw_new_hire.SetItemStatus(5, "emp_status", &
Primary!, DataModified!)
This code sets the status of row 5 in the primary buffer of dw_rpt to DataModified! if its status is currently NewModified!:
dwItemStatus l_status
l_status = dw_rpt.GetItemStatus(5, 0, Primary!)
IF l_status = NewModified! THEN
dw_rpt.SetItemStatus(5, 0,
Primary!, DataModified!)
END IF
/* Modified ! */
dw_main.GetNextModified(0, Primary!)