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 )

Read more »

July 10, 2008 Posted by rick130 | 3. PFC, Datawindow Services | , , , , | No Comments Yet

PFC Datawindow RMB Pop-up Menu

July 10, 2008 Posted by rick130 | 3. PFC, Datawindow Services | , , , | No Comments Yet

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 rick130 | 3. PFC, Datawindow Services | , , | No Comments Yet

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.

Read more »

July 10, 2008 Posted by rick130 | 3. PFC, Datawindow Services | , , | No Comments Yet

PFC DataWindow Sort Service

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

Read more »

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

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.

Read more »

July 9, 2008 Posted by rick130 | 3. PFC, Datawindow Services | | No Comments Yet

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

Read more »

July 4, 2008 Posted by rick130 | 3. PFC, Datawindow Services | , , , , , , , , , | No Comments Yet

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:

Read more »

July 3, 2008 Posted by rick130 | 3. PFC, Datawindow Services | , , , , , , | No Comments Yet

PFC DataWindow Resize Service

Resizes the objects within a DataWindow object including:

  • columns
  • computed fields
  • bitmaps
  • text

Read more »

July 3, 2008 Posted by rick130 | 3. PFC, Datawindow Services | , , , , | No Comments Yet