Hi Nick,
am pretty sure that there will be more than one user logging on at a time.
is it possible to do it like this?
cheers nick,
chris
Main Topics
Browse All TopicsHi, I have just setup a terminal server. the main purpose of it is to allow users, some from different companies to access sage accounts. However when you set up the company file, as it is terminal services there is only one company file, which means that all users can see each others companies when they go to log in to Sage 2009. I have contacted tech support and their knowledge stops pretty much at installation of Sage etc, which is already done.
The company file consists of company numbers so company one should only be able to see company one data etc etc
They did suggest writing a batch file so that when each user logs on they can only see their own company data..
Anybody got any suggestions?
Thanks again.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Chris - really sorry but I have not had the opportuntiy to test.
However you may be able to test yourself.
What we did was create sub directories within the program data path
i.e. in C:\Program Files\Sage\Accounts\
we created a sub dir for each user,
e.g. C:\Program Files\Sage\Accounts\jim, C:\Program Files\Sage\Accounts\dave etc
and within each sub dir, create a new COMPANY file with the relevant paths to each Sage company.
(Your local path may be different to that above, also your path to Sage Program may be different in the code).
Then using the code below, create a VBS file as a logon script for each user.
(In the example below, save the code as jim.vbs).
What this does, is delete the current COMPANY file and replace it with each users own COMPANY file.
I would reiterate that I am unsure whether this would work for mutli logins, although in theory it should.
NB Please make sure you keep a copy of the original COMPANY file in case you run into issues.
If I can get to test I will let you know but in the meantime hopefully this will help.
Cheers
Nick
Business Accounts
Answer for Membership
by: seriousnickPosted on 2009-11-02 at 11:24:53ID: 25722715
Hi choy77
Yes you can do this using logon scripts provided only one user logs on at a time.
We have done this (it may be possible to do this with more than one user but I cannot be sure).
You would set up different "company" files for each user with details for only the company/companies you wanted each user to have.
For example, if logon user "Fred" only should have access to COMPANY1, and the path for such data was X:\Accounts\COMPANY1
you would edit the COMPANY file for that user to read as the path mentioned (i.e. X:\Accounts\COMPANY1).
The logon script could be a vbs file or a batch file, but would need to delete the existing local COMPANY file (default location on server is C:\Program Files\Sage\Accounts and has no extension), then copy over another COMPANY file from the "Fred" directory.
Hope this makes sense.
Cheers
Nick