A READER ASKS: Add the current date, as a FileMaker shortcut?

From Dwayne Wright PMP
Certified FileMaker Developer

WEB: www.dwaynewright.com
EMAIL: info@dwaynewright.com
TWITTER: dwaynewright
YOUTUBE: FileMakerThoughts

A READER ASKS
Do you know of a way to add the current date, as a shortcut, only using the full date, not just the numbers?

-------
DWAYNE RESPONDS
I haven't tried this but assume it will work, have you tried remapping the associated menu command using the FileMaker Advanced custom menu feature?

A BIT OF BACKGROUND
The symbol of // (often called a double slash) in FileMaker can be used as a form of shorthand for the current date and can be used in searches and as a layout object. So a search in a date field with // will find records with the matching current date. Adding the text of // as a layout object in layout mode will convert that text to the current date when you go into browse mode.


Additionally, there is a command to insert the current date into a field from under the insert menu. In FileMaker Advanced, you can create your own custom menus and assign them keyboard shortcuts. In many cases, you can assign keyboard shortcuts for menu commands that are already present, thereby hijacking the traditional use of that menu command for a customized scripted action. 

More info about the author and FileMaker in general, contact me at info@dwaynewright.com.

© 2011 - Dwayne Wright - dwaynewright.com

The material on this document is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this document. WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.