Schultz’s PowerBuilder Notes

PFC DataWindow Service Questions

I get the error “DataWindow is not Updateable” but I am trying to save a different datawindow.

If you have a datawindow which you will not want to update, such as a external source datawindow containing a DDDW, you need to call the function of_SetUpdateable(False) in the dw control’s constructor event

this.of_SetUpdateable ( False )

Continue reading


July 10, 2008 Posted by | 3. PFC, Datawindow Services | , , , , | Leave a comment

RetrieveStart Event

How do I append data to a datawindow

In the RetrieveStart event the return code must be 2

Return 2

Return Codes

0 – (Default) Continue.

1 – Do not perform the retrieval.

2 – Do not reset the rows and buffers before retrieving the data from the database.

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