jdu98a Posted December 14, 2010 Posted December 14, 2010 I'm thinking this has a pretty straight forward answer, but I haven't been able to figure it out. I'm needing a calculation that will determine whether the current user is accessing the database from the host computer or over the network. In the past I have used something like If( Get(HostIpAddress) = Get(SystemIpAddress); 1; 0), but depending on the setup of the network that sometimes doesn't work. What's the most reliable way to determine this? This is using regular FM as the host with network sharing, not FM Server.
dansmith65 Posted December 14, 2010 Posted December 14, 2010 Get(MultiUserState) < 2 That should be true if you are on the host computer (or if the file is not shared).
Recommended Posts
This topic is 5151 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now