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

PFC Datawindow RMB Pop-up Menu


How do I disable the RMB menu

this.ib_rmbmenu = False

Continue reading

July 10, 2008 Posted by | 3. PFC, Datawindow Services | , , , | 1 Comment

PFC DataWindow Printing


Print Dialog Window

If you call pfc_print on the datastore or datawindow, the user will be prompted with the Print dialog. Note, a datastore must have a parent window assigned for the print dialog. To bypass the Print dialog, call pfc_printimmediate.

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

PFC DataWindow Verification Service


The Verification service object, n_cst_dwsrv_verification, lets you enable and disable default Datawindow processing for required fields and rules. This service eases the task of handling interdependent fields within a DataWindow.

Continue reading

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

PFC DataWindow Sort Service


The sort service provides enhanced datawindow sorting capabilities, including an
end -user interface. It includes the following features:

Continue reading

July 10, 2008 Posted by | 3. PFC, Datawindow Services | , , , , , , , | 2 Comments

PFC Query Mode Service


This service lets you switch a datawindow into query mode. You can set the source for the column names to be one of DataWindow column names, database column names, or DataWindow column headers. The Query mode service enhances control of query capabilities, including the ability to save and load queries from an end-user interface. You can enable right-mouse-button context-menu functionality.

Continue reading

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

PFC DataWindow Row Selection Service


The row selection service provides support for several row selection techniques.
It includes the following features:

  • Choose to enable either single-row, multi-row, or extended selection
  • Reverse selection on all rows (select the deselected, and deselect the selected)
  • Determine the total number of selected rows

Continue reading

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

PFC DataWindow Row Management Service


The row management service provides for enhanced management of insertion and
deletion of datawindow rows, including an end-user interface to restore one or more
rows they deleted. It includes the following features:

Continue reading

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

PFC DataWindow Resize Service


Resizes the objects within a DataWindow object including:

  • columns
  • computed fields
  • bitmaps
  • text

Continue reading

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