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.

Date field hick-up

Featured Replies

Date field that user set's with drop down calender.

For the new year the client has asked for me to clear previous entries in this field.

But when the user went to create a value filemaker some how remembered the previous entry (if there was one). Being that all entry's were from last year going through the extra clicks to set a new date is not necessary.

To clear the records I did replace field contents with ""

Perhaps that was not the proper way to clear the previous records.

Anyhelp with this glitch would be great.

  • Author

Fix

Set Field ["Database::DateField" ; "GetAsDate ( "" )"]

Just put this in a script n loop and should be good to go.

Date field that user set's with drop down calender.

For the new year the client has asked for me to clear previous entries in this field.

But when the user went to create a value filemaker some how remembered the previous entry (if there was one). Being that all entry's were from last year going through the extra clicks to set a new date is not necessary.

To clear the records I did replace field contents with ""

Perhaps that was not the proper way to clear the previous records.

Anyhelp with this glitch would be great.

Replace should have been fine.

I am concerned that you are deleting data. It is very unusual and speaks of poor design that a field is cleared across records. Perhaps this suggests the need for a child table and a calculated status?

Date field that user set's with drop down calender.

For the new year the client has asked for me to clear previous entries in this field.

But when the user went to create a value filemaker some how remembered the previous entry (if there was one). Being that all entry's were from last year going through the extra clicks to set a new date is not necessary.

To clear the records I did replace field contents with ""

Perhaps that was not the proper way to clear the previous records.

Anyhelp with this glitch would be great.

"For the new year the client has asked for me to clear previous entries in this field."

This is needless and not advisable. Since records can be found and/or sorted or summarized by year (or anything else), deleting records serves no purpose. Your client is missing a crucial point. Relational DB can maintain a history going back or forward as long as you wish without any negative consequences. Deleting records erases history. Educate the client! Of course I'm assuming your schema works properly.

RW

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.