Hi to all ,
Is it possible to list what are the companies available in sage 50 software using SDK. Also company's database's .SAI location get via SDK?
Hi,
Do you mean, get a list of recent companies that have been opened in the software, and the full pathname?
Or do you mean get a list of companies currently open on the workstation? On the server?
or do you mean enumerate all the company files available on all drives, and their locations, or something else?
Thanks for your reply,
I want to get ALL companies name and its path like ..public documents\simply accounting\...\universal.sai
is it possible with SDK or any other way?
Thanks in advance.
In the olden days, I would have suggested running:
DIR c:\*.SAI /s >SAIFILES.TXT
from a command prompt. (assuming you have write access to the current directory and that you only have one hard drive.)
Or make a batch file like:
DIR c:\*.SAI /s >SAIFILES.TXT
DIR F:\*.SAI /s >>SAIFILES.TXT
DIR S:\*.SAI /s >>SAIFILES.TXT
Sage creates an ODBC.INI entry on the workstation for each company that you open on it. The filenames are stored in the Registry.
*Community Hub is the new name for Sage City