Good morning Michael,
The VPK is not exposed by the API. You would have to run an SQL Select statement on your local database for the fields Dan mentioned. If the CREATE_DBGUIDNO is 1, it was created in the local Interbase database (your Primary database) and if any other value, the record originated from a copy database, i.e. CBO.
Can you let me know what agency you are with, Michael?
Thank you,
Jeremiah Sellars