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.

A_little_underscore_question

Featured Replies

I'm a Mac user and have never really used underscores, but I often see other FM files with underscores in file and field names. Do you need to use them for a file to work on a Wintel? Or will using a spacebar in Mac translate just fine in a cross-platform environment?

I was worried about the same thing when I recently transferred a Mac database to Windows. But the spaces in field and script names caused no problems at all

once upon a time, spaces meant trouble. . . old habits die hard. . .

Actually, didn't (doesn't) the underscore mean that the file is 'invisible' from the TCP hosts menu, unless you explcitly knew the IP address? I cant rememeber exactly..

Here's how I name all objects in FileMaker. I use an underscore to replace a space. This is true for file names, scripts, fields, value lists and relationships.

The reason I do this is because I never know if or when a database will need to be accessable over the web using either CDML or Lasso. Dynamic links using either can cause problems if there are spaces, since reference can be made to any object to perform some action on the web.

I use an underscore instead of nothing because it increases readability for me. It's much easier for me to quickly pick out the meaning of Total_Products_Purchased than it is for TotalProductsPurchased.

An underscore at the end of a file name (like File_.fp5) will make it so that the file doesn't appear in the list of hosted files on a server. I don't know it's just the TCP/IP protocol that this works with, but with IPX and AppleTalk (although both seem to be going the way of the dodo). The file is still available to be logged onto, but it must be done through the programming of FileMaker, through scripts.

If you know for a fact that your solution will never need to be accessed using a web browser, there is really no cross-platform reason to not use spaces, especially if you're using the most recent version of FileMaker. However, even with long file names being available on both Mac and Windows, some developers still use the 8.3 file naming convention. I haven't found this to be necessary, but perhaps others here have different experiences.

Chuck

[This message has been edited by Chuck (edited November 20, 2000).]

Underscores really aren't necessary unless you will be taking your database to the web. Javascript for one doesn't like spaces.

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.