Schultz’s PowerBuilder Notes

Working with PFC INI Files


Reading from the User INI file

// get list of CSR emp ids from INI file and select these
ls_usr_ini = gnv_app.of_GetUserIniFile( )
ls_csr_string = ProfileString(ls_usr_ini, "CSR", "EMP_ID", "")

Continue reading

Advertisements

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

PFC Debugging Service


The debugging service automatically displays messages when the PFC encounters conditions that indicate an error. The debugging services is a development tool only. Do not enable it in production systems deployed on client machines. To invoke:

Continue reading

June 10, 2008 Posted by | 3. PFC, Application Services | , , , , , , | Leave a comment

PFC Registry


How do I determine if a the client platform supports a registry?

gnv_app.of_IsRegistryAvailable( )

Continue reading

June 10, 2008 Posted by | 3. PFC, Application Services | , , , , , , | Leave a comment

PFC Message Service


The primary role of the message services is a s a message repository, but it offers much more. The error service features include the following:

Continue reading

June 10, 2008 Posted by | 3. PFC, Application Services | , , , , , , , , , , | 2 Comments

PFC Most Recently Used Service


Displays a list of most recently used windows or sheet-specific items on the File menu. By default this list displays up to five items, but you can increase this number.

N_cst_mru automatically loads MRU information when the application opens. This information is stored in either the registry or an INI file.

June 10, 2008 Posted by | 3. PFC, Application Services | , , , , , | Leave a comment

PFC Transaction Registration Service


The transaction registration service provides support for management of two or more
transaction objects in an application. It includes the following features:
Continue reading

June 9, 2008 Posted by | 3. PFC, Application Services | , , | Leave a comment

PFC Error Service


The error service provides support for customized error processing.
It includes the following features:

Continue reading

June 9, 2008 Posted by | 3. PFC, Application Services | , , | Leave a comment

PFC Datawindow Caching


The datawindow caching service allows for the storage of data used in multiple places
within an application, to eliminate the need for redundant database retrievals.
It includes the following features:
Continue reading

June 9, 2008 Posted by | 3. PFC, Application Services | , | Leave a comment

PFC SQL Spy Debug


The SQL Spy Debug service provides support for debugging SQL during development
of an application. It includes the following features:

Continue reading

June 9, 2008 Posted by | 3. PFC, Application Services | , , , , , , , , | Leave a comment