Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

The name of the host computer can be obtained with...

[color:red]Get(HostName)

How do other users get the name of a client computer connected to the FileMaker Network?

Thanks for your help.

It would be helpful to know why you'd need this info. There are two get functions to look at:

Get (AccountName) which returns the account that was used to login to the system, and Get (UserName) which returns the name in FM Pref of the client.

Who are the "others" that need to see the client computer connected? Do you mean the FM Server Admin, who can see who's connected using the server admin software. Or, do you want other logged in users to know who's also logged in? If so, you could set a flag field in an Open Script in your users table to indicate that they are logged in.

  • Author

Thanks for your reply.

I use the names to identify the machines on the FimeMaker Network. Their IP addresses are used to create unique links to machine specific records (the user's own local preferences for example). But I use the names to make it obvious which one is which for the administrator to refer to.

Using Get(HostName) returns the Compiter name as set in Control Panel. This might be "Reception" or "Room 1", etc.

Using Get(AccountName) or Get(UserName) returns the login name or installation name for FileMaker. In our case these are our company name, so it doesn't vary between machines.

A function like Get(LocalName) or Get(ClientName) is what I need but I don't think it exists?

One way around it is during the startup script on the Client machine. It can get it's HostName locally before it joins the FileMaker Network and then paste that in as the machines name in a later script. That's fine, but it doesn't work if the record needs to be recreated once it has already joined FileMaker Network. Then Get(HostName) is the network host, not the local machine.

I hope that helps? Thanks.

Perhaps you can use a VBScript to return the name but this will require it on the client computer.

I use the names to identify the machines on the FimeMaker Network. Their IP addresses are used to create unique links to machine specific records (the user's own local preferences for example).

I wonder why you would choose to use machine identity for this, instead of person identity. Databases are used by people, not by machines. A user may have their computer replaced - should they lose their preferences as a result? A user may leave and the computer may be assigned to another - should the predecessor's records be associated with the new employee? A user may login on another computer, perhaps even from a remote location - what then?

I believe the "standard" solution for this is to use Account Name, while making sure every user has their own unique account.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.