MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Datawindow Row/Column status in PowerBuilder

Published on 30 August 16
1924
0
3
Datawindow Row/Column status
************************************************
dwitemstatus rowstatus
IF dw.GetRow() > 0 THEN
rowstatus = dw.GetItemStatus( dw.GetRow(), 0, Primary! )
// 0 for Row status, if you mention the column name/#notation it will return the
// column status.
IF rowstatus = New! OR rowstatus = NewModified! THEN
// Your code here
ELSE
// Your code here
END IF
END IF
Datawindow Row/Column status

************************************************

dwitemstatus rowstatus

IF dw.GetRow() > 0 THEN

rowstatus = dw.GetItemStatus( dw.GetRow(), 0, Primary! )

// 0 for Row status, if you mention the column name/#notation it will return the

// column status.

IF rowstatus = New! OR rowstatus = NewModified! THEN

// Your code here

ELSE

// Your code here

END IF

END IF

This blog is listed under Development & Implementations and Data & Information Management Community

Related Posts:
Post a Comment

Please notify me the replies via email.

Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
You may also be interested in
 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top