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.

Learn from my mistake

Featured Replies

Hey. Not sure if this is the right place, but as a "learning as i go" user, i wanted to share a tip that i had to learn the hard way...

I have a database setup which works great for my needs. I was trying to write a script to run on all the computers that use the database...some Mac, some XP, some Vista. All was fine until Vista. The short story is that the script would not work on Vista no matter what i did. It wasnt until i realized that my date used in my script was being pulled from a global date field, however the field type was set as TEXT, rather than DATE. This caused the formatting of the date to not jive with the rest of the fields being called in my script.

So, the moral of my story is... always specify the field as the type for the data to be stored in it... TEXT for text fields, DATE for date fields, NUMBER for numbers etc.

This wasnt an issue on my mac so i was lost when things didnt work on the Vista machine. Much head ache would have been avoided if i have just done it right to begin with.

Happy filemaking!

Thanks for bringing it up, titanium! There's always time for fundamentals, and seasoned developers are not immune from making the same mistake.

Along similar lines, there is a FM behavior that's caught me many times. In Define Database, if we change a field's type to a Calculation, the "Specify calculation" window will default to "Calculation result is NUMBER" ... regardless of its type before the change.

I wish the new calculation could inherit the field type. In the meantime, I hope it helps someone.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.