Schultz’s PowerBuilder Notes

Setting the RowStatus


If you have worked with PowerBuilder for a while, you have learned that setting the status of a row is not always a straight forward procedure.  I have created a handy utility which will simplify this process.

Continue reading

Advertisements

January 1, 2009 Posted by | 2. Datawindows, Datawindow PowerScript, Powerscript | , , , , , , , , , , | 9 Comments

Datawindow Column Properties


The Dialog box

Continue reading

December 10, 2008 Posted by | 2. Datawindows, Datawindow Painter, Expressions, Modify and Describe | , , , , , , , , | Leave a comment

Update Status Flags


ItemStatus actually holds two pieces of information at once:

  • New/Not New
  • Modified/Not Modified

Continue reading

June 7, 2008 Posted by | Datawindow PowerScript | , , , , , , | 1 Comment

Row Selection


GetSelectedRow(long)

Reports the number of the next highlighted row after a specified row in a DataWindow control or DataStore object. Argument is the row after which you want to search for the next selected row. Specify 0 to begin searching at the first row

Continue reading

May 26, 2008 Posted by | Datawindow PowerScript | , , | Leave a comment

DBError Event


The DBError event fires in a DataWindow when a database error occurs as a result of an Update( ).

Continue reading

May 16, 2008 Posted by | DataWindow Control | , , , , | Leave a comment

Clicked Event


Row is 0 if user clicks a non-row object

Return 0 to continue processing, 1 to prevent focus from changing.

May 16, 2008 Posted by | DataWindow Control | , , , , , | Leave a comment