December 14, 201015 yr 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.
December 14, 201015 yr Get(MultiUserState) < 2 That should be true if you are on the host computer (or if the file is not shared).
Create an account or sign in to comment