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.

Auto-enter by calculation question...

Featured Replies

I love the fact that FileMaker 7 allows for defining a field to Auto-enter by calculation and using that field in the calculation. I used to create two fields for every date field in my solution. One text field for the entry of the date without slashes like "01012004" and one calculation field whose result would return a formatted date like "1/1/2004".

I thought I would be able to just define a date field(Date), tell it to auto-enter by calculation using:

Date ( Left(Date;2); Middle(Date;3;2) ; Middle(Date;5;9999))

and be done with it. However, every time you enter a date like "01012004" into the date field, the invalid date dialog box comes up instead of the "01012004" being converted to a valid date.

Any thoughts? I would love to keep the number of fields in my solution to a minimum by using the new functionality.

Have a numeric separator in your date format of "" (null).

Your field either has to be defined as a Date field or a Text field. A Date field must conform to the accepted date formats. A Text field can look like a number or a date, unfortunately to do any type of date calculations with text fields, you have to convert them to date first with GetAsDate(TextDate). And sorting dates in a text field will sort them as text, not by date.

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.