Company Z (comp_z.dbc) File
Asked by: matbroughty 681 views Questions Back to Questions »
Good Morning,
I have connected via ODBC to the Fox Pro db (Pegasus Opera II) fine and have manged to work out the basic queries to extract the Sales and Purchase Ledger accounts and associated items (basically SNAME, STRAN for Sales Ledger and PNAME, PTRAN for Purchase Ledger).
Will the database container file always be called comp_z.dbc though or would the company letter change? If it could be different what Pegasus installation files would indicate the name of the database container file?
The reason is I would like to be able to programmatically determine the data location.
I can determine the actual data directory location by viewing the Windows Registry entry in HKLM\SOFTWARE\Pegasus\Server VFP\System and the PathToServerDynamic value, but there doesn’t appear to be an entry for the name of the database container file.
So will it always be comp_z.dbc? I’m guessing not!
Additionally does anyone know if the Pegasus Opera III Fox Pro databse is pretty much the same schema as II? Likewise does the SQL server version stick to the same database table names/schema in general as the FoxPro version.
Thanks for any help anyone can offer.
Cheers
Mat

