DB_SetCurrentViewpt

This functon sets the currently used viewpoint (filter and sort) used by the database. DB_SetCurrentViewpt saves any changes to the previous viewpoint table, and loads the new viewpoint definition and viewpoint table. If any records have changed since the specified viewpoint table was saved, those are updated with respect to this viewpoint.