Click here to Skip to main content
15,886,769 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everybody!

I have a database using Microsoft Access.
I have an intranet system with one server and five clients.

Now I put my database to the server to the client connection.
How can I get the information (Computer name,username, time) from the client access / connect to this database? Is Possible?

I use c #, Windows Forms, Visual Studio Express 2013 for desktop window, Microsoft Access 2013.

Any ideas or any help I am very grateful and consider it a lesson for me.
Thank you very much!
Posted
Updated 24-Sep-15 0:30am
v2

1 solution

Firstly, don;t try to connect five clients to an Access database - it really isn't good at that, and has always given problems in anything other than single user access. For anything multiuser, you should look at SQL Server or MySql - most of your code should work with only trivial changes (Connection string, using SqlConnection and SqlCommand objects instead of OdbcConnection and OdbcCommand, that kind of thing).

Second, you can't get the connection info at the DB - Access doesn't do any processing at the server, that just serves up the DB content to the client PC as effectively a big file.
 
Share this answer
 
Comments
StackThanh 25-Sep-15 5:55am    
Hi OriginalGriff!
Thank you for the explanation as well as a solution for my problem.
I will be the basis for them to the search appropriate solutions.
OriginalGriff 25-Sep-15 6:02am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900