Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## _update-policies.p

> Save the tracked changes to policies stored in a specified source ProDataSet into a specified target database. If an error occurs for any record update, the procedure sets the `ERROR` attribute on both the ProDataSet and buffer, as well as the buffer `ERROR-STRING` attribute. The caller should check for errors.

> Note: This procedure automatically refreshes the database cache by calling the `AUDIT-POLICY:REFRESH-AUDIT-POLICY()` method.

> Parameters:

> `INPUT pcDbName AS CHARACTER`

> Logical name of the target database.

> `INPUT-OUTPUT DATASET-HANDLE phDataset`

> ProDataSet object containing the tracked changes to save.

> `OUTPUT erroMsg AS CHARACTER`

> Error messages.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095